StaticaddStaticaddStaticisTrue if the outdegree (number of edges with this node as source) is zero, false otherwise. By default, if a node has a connection to itself (loop) it is not considered a leaf
StaticloadStaticnewStaticremoveRemoves a node from the graph. Before removing the node, creates connections between all connecting sources and targets.
Staticto
Utility class related with graph creation and manipulation.
Current implementation uses Cytoscape.js (https://js.cytoscape.org/)