@turnert wrote:
I’m binding my
fromMaxLinks
andtoMaxLinks
in an itemTemplate to represent ports as I want to dynamically support changing the max number of links for a given port.... new go.Binding("fromMaxLinks", "services"), ...
This works great when trying to add new links (as the LinkingTool understands these properties), however, I’m wondering what should be done if I, for instance, add 5 links to a port, then reduce the number of services to 3. Currently, all 5 links stay connected, even though I cannot add new ones.
I would like to either have these links break (FILO order) or color the links (red) until I manually remove them to max the *MaxLinks value I’ve set.
Do you have any suggestions for this situation?
Posts: 5
Participants: 2