I need to make a check that if a (Bar) node is within a Group (Property->Text with Value->"A" on GraphLinksMadelNodeData) then user can not start a link from this (Bar) node (can still link to it) but if a (Bar) node (based on same template) is inside a different Group (Property->Text with Value->"B" on GraphLinksMadelNodeData) then it can be linked to and from.
It is too late for LinkingTool's IsValidLink method because link has already started and I want that user should not even be able to start a link
I can not get the actual From node in LinkingTool's Canstart override and hence cannot check (Bar) node's ContaingSubgraph's Text property and return false to stop the operation
I know it can be achieved by setting [Code]go:Node.LinkableFrom="False"[/Code] on the (Bar) node but how and where do I do it as this value is dependant on a value of the ContaingSubGraph
what is the best way to do this?