How to configure only one link for shape

Hi,

I Would like to know how to configure only one link for shape (in / out).
I found this prop: formMaxLinks / toMaxLinks. but there are for spot I need for all the shape.

Best regards,
Daniel Tshuva

Yes, if your GraphLinksModel supports multiple ports per node, then GraphObject.fromMaxLinks and GraphObject.toMaxLinks operate per port.

You can supply your own link validation predicates. Please read GoJS Validation -- Northwoods Software.