Hi,
On the example of DynamicPorts
Is it possible to group connections from several ports with remarks as in the figure below?
Hi,
On the example of DynamicPorts
Is it possible to group connections from several ports with remarks as in the figure below?
In your GraphLinksModel, are there two separate link data objects for the diagram that you are showing? Or is there just one link data object, with additional information in that data indicating which ports should be connected?
Or to ask the question in another way, does it matter which ports are connected with which ports?
Or yet another way to ask the question: if the user selects the link and deletes it, what happens?
I assume you already know about link labels: Link Labels | GoJS
You might be interested in this sample, although its nodes don’t have separate ports: Link Bundles As always, the complete source code is in the page itself.
Let’s assume there will be several links. However, they will be marked as grouped (they will have a groupID property). Deleting one link will remove it from the group. I want to show that the links are implemented using a single cable.
So the Link Bundles sample I just gave you seems appropriate.
This example does not show how links originating from several ports are combined into one multilink.
FYI, I copied the code from Link Bundles into a copy of the Dynamic Ports sample, and it worked well as far as “bundling” goes. But you are right that they don’t show the “forks” at the ends.
Not exactly what you’re looking for, but: Multiple-connection "Forked" Links