I want to find first Node in a linked chain of nodes.
This i can find out by checking each node source links count is zero or not?
But by problem is finding first node if you select only few nodes out of linked node and delete them.
I this case how can i check first node out of selected nodes and last node out of selection.
Basically from below picture if delete selected object i need to link block2 and block7.
I am planning to use view.SelectionDeleting event.
Please let me know your suggestions regarding my problem.