finesse.graph.operator_graph.OperatorGraph.source_nodes

OperatorGraph.source_nodes(self, ignore_self_loops=False)

Nodes which have no input edges

Parameters
ignore_self_loopsbool, optional

When true any self loops at a node are not included in the determination if this node is a source

Returns
nodesTuple

node integer values