How can I limit the linkTemplate to certain objects.
I have 3 objects - A, B, C.
Valid links:
A -> B
B -> A
B -> C
Can I create my own type of link for each object with a restriction?
Big thanks for help.
How can I limit the linkTemplate to certain objects.
I have 3 objects - A, B, C.
Valid links:
A -> B
B -> A
B -> C
Can I create my own type of link for each object with a restriction?
Big thanks for help.
Thank you, it works.
Perhaps you can answer a couple more questions:
Do I can somehow switch the view of the links. For example, choosing them from the ComboBox?
Do I can check all the links when loading the diagram?
Yes, please read GoJS Data Binding -- Northwoods Software and GraphObject Manipulation.
Yes, just iterate over all of the Diagram.links and examine each one.
If you have follow-on questions or additional questions, please start a new topic in the forum. Better yet, search the forum first, in case similar questions have been asked before.
Thanks.
Got it.