documentationfor yFiles for HTML 2.6

Usages of ViewportChanges

Properties

animatedViewportChangesin CanvasComponentGets or sets a combination of viewport changes which should be performed in an animated fashion.

Method Return Values

from (ViewportChanges)in ViewportChangesConverts the argument to ViewportChanges.

Method Parameters

getViewportAnimationDuration (Point, number, ViewportChanges)in CanvasComponentDetermines the animation duration for a viewport animation.
GraphComponent (HTMLDivElement, )in GraphComponentCreates a new instance of the GraphComponent in the given div element.
GraphComponent ()in GraphComponentCreates a new instance of the GraphComponent.
GraphComponent (string, )in GraphComponentCreates a new instance of GraphComponent using the div element that is specified by the selector.
from (ViewportChanges)in ViewportChangesConverts the argument to ViewportChanges.