Multiple input to a node port

Hello,

Can someone point me to an example of a node accepting multiple inputs into a node port? I have tried many different things to allow the user to be able to draw multiple links to the same port but nothing seems to work. Multiple from links works just fine.

An example of my port:

makePort(“T”, go.Spot.Top, true, true);

function makePort(name, spot, output, input) {
// the port is basically just a small circle that has a white stroke when it is made visible
return graphObjectMake(go.Shape, “Circle”,
{
fill: null,
stroke: null, // this is changed to “white” in the showPorts function
desiredSize: new go.Size(8, 6),
alignment: spot, alignmentFocus: spot,
portId: name, // declare this object to be a “port”
fromSpot: go.Spot.AllSides, toSpot: go.Spot.AllSides,
fromLinkable: output, toLinkable: input,
fromLinkableDuplicates: true, toLinkableDuplicates: true,
relinkableFrom: true, relinkableTo: true
cursor: “pointer”
});
}

Many of the samples allow multiple links into a port. For example:
State Chart
Flowchart
Dynamic Ports

Your code looks like it should allow it too.

I would think it would allow for the multiple links into a node. It may have something to do with the user drawing the links from node to node but im not sure yet. I will look over the examples you provided.

Thanks walter!