Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Knowing completion of diagram layout change

$
0
0

@dreamweiver wrote:

Hi Team/Walter,

I am working on a GoJs Diagram with dynamic layout change feature and I want to know if there is any DiagramEvent that gets triggered after the change of diagram layout ?

for eg: when I update the diagram’s initial layout to a LayeredDigraphLayout as below

			myDiagram.layout = $(go.LayeredDigraphLayout,
			{
				isInitial : false,
				isOngoing : false,
				layeringOption :go.LayeredDigraphLayout.LayerLongestPathSource,
				layerSpacing : 100,
				columnSpacing : 50,
				setsPortSpots : false,
				angle : _angle
			}
		);`

I tried to listen to LayoutCompleted event, but I don’t think this event is called after the layout is updated.

thanks,
Manoj

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles