linchemin.cgu.syngraph.SynGraph.add_node

SynGraph.add_node(nodes_tup: tuple) None[source]

To add a ‘parent’ node and its ‘children’ nodes to a SynGraph instance.

Format of the input tuple: (parent_node, [child1, child2, …])