@marin wrote:
I want to have ports that can be connected by a link, similiar to what is given: https://gojs.net/latest/samples/draggableLink.html
The porst appear only when a mouse enters the node.
However, I don't want duplicates: Links between the same two ports.. However, for some reason my configuration allows this... I'm not sure why.
This is my port configuration:$(go.Shape, shapes.node, { fill: null, stroke: null, desiredSize: size, alignment: position, alignmentFocus: position, portId: portType, fromSpot: position, toSpot: position, fromLinkable: portType === portTypes.output, toLinkable: portType === portTypes.input, cursor: 'pointer' })
Posts: 3
Participants: 3