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

Initialposition

$
0
0

@shameer.sheik wrote:

Hi, i am trying to set the initial position , but my diagram is always displayed in the (0,0) position.

 fg(go.Diagram, divId, {
                initialPosition : new go.Point(600,600),
                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
                doubleClick: diagramDoubleClick,
                LinkReshaped: function(e) { //NO I18n
                    e.subject.routing = go.Link.Orthogonal;
                },
            });

i am not able to position the diagram in your example as well , plz check the video
https://docs.zoho.com/file/bhy44271ea7ad654b4139827c0bdedcf5539f

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles