Closed AMIOL7 closed 1 year ago
What I did so far:
owner
field and respective getter/setter to Port
Node
s now keep track of their dependents (forming a higher level graph than individual ports)InputNode.connect(port)
behaves: It now only connects to port, if it is in a disconnected state atmNode.triggerDonwlineUpdate()
requested in #38 Node.inCycle()
requested in #38 Node.directDependencyOf(node)
, Node.transitiveDependencyOf(node)
On the linked branch you'll soon be able to see these changes. I highly consider this an experimental branch/solution so I request your ideas, alternatives and opinion on these changes.
- Changed how
InputNode.connect(port)
behaves: It now only connects to port, if it is in a disconnected state atm
This will alter behavior of my use of it in the view, it is easily fixable though, consider this only as a "note to self".
As for the rest, they will come extremely handy, thank you.
- Changed how
InputNode.connect(port)
behaves: It now only connects to port, if it is in a disconnected state atmThis will alter behavior of my use of it in the view, it is easily fixable though, consider this only as a "note to self".
As for the rest, they will come extremely handy, thank you.
I can also fix this issue on my side in 2 lines. At the time of writing the comment above it was easier to change the behaviour, especially because I though it would not affect anything.
Since then I have the infrastructure to change it back in no time.
I'd like to link issue #38.