@pawantarani wrote:
Code for Port:
$(go.Shape, “Circle”,{ fill: "gray", name: "OUT", fromSpot: go.Spot.Right, toSpot: go.Spot.Right, alignment: go.Spot.Right, alignmentFocus: go.Spot.Right, desiredSize: new go.Size(8, 8), portId: "OUT", toMaxLinks: 1, cursor: "pointer" } )Code for TextBlock:
$(go.TextBlock, “Line”,{ segmentIndex: 0, segmentFraction: 0.5, segmentOffset: new go.Point(0, -8), alignment: go.Spot.Center, textAlign: "center", editable: true, name: "TB" })
Posts: 1
Participants: 1
