Hi,
setting the content alignment as center , always tries to center the diagram , i dont prefer that , i would like it to be left aligned. I aslo dont prefer node flying to a direction as well.
my diagram code :
fg(go.Diagram, divId, {
initialContentAlignment: go.Spot.TopCenter,
contentAlignment:go.Spot.TopLeft,
position: new go.Point(0,0),
autoScrollRegion: new go.Margin(20, 20, 20, 20),
“LinkDrawn”: createLinkViaRelink, //NO I18n
“animationManager.isEnabled”: false, //NO I18n
“undoManager.isEnabled”: true, //NO I18n
“maxSelectionCount”:1, //NO I18n
“allowClipboard”:false//NO I18n
});
my diagram is initially left aligned eventhough my initial content alignment is center.plz advise
I am displaying some diagram content initially which i want to display in the center of the view port , after that if i scroll, i dont want the diagram flying to the direction , i need to scroll only if there is content to shown. I dont want it to be center aligned so that if i change something , the diagram doesnt center align itself