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