@marty1 wrote:
My question is that
I have drawn my nodeTemplate with some nodes
Now on the top of that I am adding a part
for example :$scope.myDiagram.add($scope.gj(go.Part, {layerName: "lines", name: "linePart"},
$scope.gj(go.Shape, {
position: new go.Point(x,y),
geometry: verticalLine
}),I am adding multiple shapes inside this part.
Now my question is what is the best way to remove some shapes that are already drawn.
Is there a way to remove shapes same as we remove parts using removeParts() function?
Can I iterate through all the shapes inside a part and remove some of them say by name?A little help over here will be appreciated
Thanks
Posts: 4
Participants: 2