Hi, i have some questions about the links
1/ i define a node with 3 ports on it like this:
myDiagram.nodeTemplateMap.add(“pic”,
$$(go.Node, go.Panel.Spot,{ locationSpot: go.Spot.Center, isShadowed: false},new go.Binding(“location”, “loc”).makeTwoWay(),
$$(go.Panel, go.Panel.Table,
<span =“Apple-tab-span” style=“white-space:pre”> …
<span =“Apple-tab-span” style=“white-space:pre”> $$(go.Picture,
<span =“Apple-tab-span” style=“white-space:pre”> {row: 0, column: 0 },new go.Binding(“source”, “img”)),
<span =“Apple-tab-span” style=“white-space:pre”> makePort(“T”, go.Spot.Top, true, true),
makePort(“L”, go.Spot.Left, true, true),
makePort(“R”, go.Spot.Right, true, true),
makePort(“B”, go.Spot.Bottom, true, true),
…
));
Function makePort i reuse of the sample http://gojs.net/latest/samples/flowchart.html
I want to do this:
Node A ------> Node B (port Right on node A links to port Left on Node B)
through relinkingTool how can i make the port Right on Node A connect to the whole Node B not through any port and vice versa, any port on Node B can connect with the whole Node A
2/ Can i add more “waypoint” on the link as many as i want so that i can reshape the link more flexible? I also enable “reshapable” property but it seems to enable two waypoints on the links
Thanks