Based on the sample about the ports (https://gojs.net/latest/intro/ports.html), there are a few weird things:
$to create GraphLinksModel does not sound correct. Since $ is a shorthand for GraphObject.make and since Model does not seem to extend the GraphObject
- The instantiation is done with an object, whereas the documentation for the GraphLinksModel’s constructor mentions only passing 2 arguments: nodeDataArray and linkDataArray
So, how can I, correctly, set the ports while instantiating the model?