finesse.graph.operator_graph.OperatorGraph.in_degree

OperatorGraph.in_degree(self, node)

Get the in-degree of a node.

This method returns the in-degree of the specified node in the graph. The in-degree of a node is the number of edges coming into the node.

Parameters
nodeint

The index of the node to check.

Returns
int

The in-degree of the node.