@incursus wrote:
Just trying some more experiments. Trying to place an initial node on the canvas "manually" (i.e. not dragged from the palette area over to the canvas).
myDiagram.nodeTemplateMap.each(function(nodeType) { if(nodeType.key == 'testKey') { myDiagram.add(nodeType.value); } });This "works", in that it shows the node on the canvas when it loads. However, when I drag a new node over from the palette, I can't connect them together. Is it because the node placed via code isn't instantiated or something? Thanks!
Posts: 2
Participants: 2