@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
LayeredDigraphLayoutas belowmyDiagram.layout = $(go.LayeredDigraphLayout, { isInitial : false, isOngoing : false, layeringOption :go.LayeredDigraphLayout.LayerLongestPathSource, layerSpacing : 100, columnSpacing : 50, setsPortSpots : false, angle : _angle } );`I tried to listen to
LayoutCompletedevent, but I don’t think this event is called after the layout is updated.thanks,
Manoj
Posts: 3
Participants: 2