Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

gojs select node programmatically

if (item.toPort !== undefined) {
  myDiagram.select(myDiagram.findPartForKey(item.key));
} else {
  myDiagram.select(myDiagram.findNodeForKey(item.key));
}
 
PREVIOUS NEXT
Tagged: #gojs #select #node #programmatically
ADD COMMENT
Topic
Name
7+8 =