dsp-chain icon indicating copy to clipboard operation
dsp-chain copied to clipboard

Add a `detect_master_idx` method.

Open mitchmindtree opened this issue 9 years ago • 0 comments

This should detect the index of the master node by finding the only node that only has incoming connections and no outgoing connections.

One issue is that it is currently possible for there to be multiple Nodes with no outgoing connections - we might be able to fix this by tightening the method for adding nodes i.e. we could force a user to only be able to add Nodes as long as they connect to some pre-existing node within the graph. This might be too restrictive to be worth it though.

mitchmindtree avatar Jun 05 '15 06:06 mitchmindtree