Quantcast
Channel: Northwoods Software - Latest topics
Viewing all articles
Browse latest Browse all 7417

Disable initial animation

$
0
0

@cobolstinks wrote:

Hi,

I'm on 1.6 and am trying to disable the inital loading animation. When my layeredDigraphLayout diagram loads it 'fly in' from the upper left corner to the lower right.

I came across the animationManager.isEnabled flag and tried this but it had no affect:

let myDiagram =
            $(go.Diagram, this._element.nativeElement, // must be the ID or reference to an HTML DIV
                {
                    // start everything in the middle of the viewport
                    initialContentAlignment: go.Spot.TopCenter,
                    initialAutoScale: go.Diagram.Uniform,
                    layout: $(go.LayeredDigraphLayout, { direction: 90, layerSpacing: 10, columnSpacing: 80, setsPortSpots: false }),
                    "animationManager.isEnabled": false
                });

What am i doing wrong?

Thanks!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7417

Trending Articles