Static Private link_Static Private margin_Static Private tempStatic Private tempAStatic Private tempBStatic Private temp_Static Private tmp_checks which nodes are visible (inside the camera area)
renders the whole canvas content, by rendering in two separated canvas, one containing the background grid and the connections, and one containing the nodes)
draws the back canvas (the one containing the background and the connections)
Optional text: stringdraws every connection visible in the canvas
draws the front canvas (the one containing all the nodes)
draws every group area in the background
draws tht given node invisible the canvas
used by this.over_link_center
draws the given node inside the canvas
draws the shape of the given node in the canvas
draws the widgets stored inside a node
draws the panel in the corner that shows subgraph properties
drawSubgraphPanel
Optional ondraws some useful stats in the corner of the canvas
Optional y: numberdraws a link between two points
start pos
end pos
the link object with all the link info
ignore the shadow of the link
show flow animation (for events)
Optional color: stringthe color for the link
Optional startDir: Dirthe direction enum
Optional endDir: Dirthe direction enum
Optional numSublines: numbernumber of sublines (useful to represent vec3 or rgb)
sends a node to the back (below all other nodes)
changes the zoom level of the graph (default is 1), you can pass also a place used to pivot the zoom
brings a node to front (above all other nodes)