Package | Description |
---|---|
com.yworks.yfiles.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
com.yworks.yfiles.view |
Contains the main UI classes, interfaces, default implementations and support classes that can be used to display
IGraph instances. |
Modifier and Type | Method and Description |
---|---|
static IAnimation |
LayoutUtilities.createLayoutAnimation(IGraph graph,
CopiedLayoutGraph layoutGraph,
Duration preferredDuration)
Creates a new
IAnimation instance that animates the current graph to the layout given by a CopiedLayoutGraph
instance. |
Modifier and Type | Method and Description |
---|---|
protected IAnimation |
LayoutExecutor.createAnimation()
Factory method that creates the
IAnimation that will be used by this instance after the layout has been
calculated. |
protected IAnimation |
LayoutExecutor.createMorphAnimation()
Factory method that creates the animation for the
IGraph . |
protected IAnimation |
LayoutExecutor.createTableAnimations()
Creates an animation that morphs the layout of all
ITable s in the graph. |
protected IAnimation |
LayoutExecutor.createViewportAnimation(RectD targetBounds)
Factory method that creates the animation for the
Viewport . |
Modifier and Type | Class and Description |
---|---|
class |
TableAnimation
|
class |
ViewportAnimation
Animates changing the viewport bounds and the zoom factor for a
CanvasControl . |
Modifier and Type | Method and Description |
---|---|
static IAnimation |
IAnimation.createEasedAnimation(IAnimation animation)
Creates an eased animation for the given base animation.
|
static IAnimation |
IAnimation.createEasedAnimation(IAnimation animation,
double easeIn)
Creates an eased animation for the given base animation.
|
static IAnimation |
IAnimation.createEasedAnimation(IAnimation animation,
double easeIn,
double easeOut)
Creates an eased animation for the given base animation.
|
static IAnimation |
IAnimation.createEdgeSegmentAnimation(IGraph graph,
IEdge edge,
IPoint[] endBends,
PointD endSourceLocation,
PointD endTargetLocation,
Duration preferredDuration)
Creates a new
IAnimation that animates the given edge 's bends from its current shape linearly to the
shape given by the endBends and final port locations. |
static IAnimation |
IAnimation.createGraphAnimation(IGraph graph,
IMapper<INode,IRectangle> targetNodeLayouts,
IMapper<IEdge,IPoint[]> targetBendLocations,
IMapper<IPort,IPortLocationModelParameter> targetPortLocations,
IMapper<ILabel,ILabelModelParameter> targetLayoutParameters,
Duration preferredDuration)
Creates a new
IAnimation that animates the given layout of all types of graph items. |
static IAnimation |
IAnimation.createLabelAnimation(IGraph graph,
ILabel label,
ILabelModelParameter targetLayoutParameter,
Duration preferredDuration)
Creates a new
IAnimation that animates the given label from its current layout linearly to the layout
given by the targetLayoutParameter . |
static IAnimation |
IAnimation.createNodeAnimation(IGraph graph,
INode node,
IRectangle targetLayout,
Duration preferredDuration)
Creates a new
IAnimation that animates the given node from its current layout to the new given
targetLayout . |
static IAnimation |
IAnimation.createParallelAnimation(IAnimation... animations)
Creates an
IAnimation according to the composite design pattern that animates multiple animations in parallel. |
static IAnimation |
IAnimation.createParallelAnimation(IAnimation firstAnimation,
Iterable<IAnimation> otherAnimations)
Creates an
IAnimation according to the composite design pattern that animates multiple animations in parallel to
this animation. |
static IAnimation |
IAnimation.createParallelAnimation(IAnimation firstAnimation,
Iterable<IAnimation> otherAnimations,
boolean isSynchronized)
Creates an
IAnimation according to the composite design pattern that animates multiple animations in parallel to
this animation. |
static IAnimation |
IAnimation.createParallelAnimation(Iterable<IAnimation> animations)
Creates an
IAnimation according to the composite design pattern that animates multiple animations in parallel. |
static IAnimation |
IAnimation.createParallelAnimation(Iterable<IAnimation> animations,
boolean isSynchronized)
Creates an
IAnimation according to the composite design pattern that animates multiple animations in parallel. |
static IAnimation |
IAnimation.createPathAnimation(GeneralPath path,
IMutablePoint animationPoint,
Duration preferredDuration)
Creates a new instance of an
IAnimation that animates the given IMutablePoint along a path. |
static IAnimation |
IAnimation.createPortAnimation(IGraph graph,
IPort port,
IPortLocationModelParameter targetLocationParameter,
Duration preferredDuration)
Creates a new
IAnimation that animates the given port from its current location to the new location
given by the targetLocationParameter . |
protected IAnimation |
TableAnimation.createStripeAnimation(IStripe stripe,
double targetSize)
Create the animation for a single
IStripe . |
static IAnimation |
IAnimation.createTableAnimation(ITable table,
double[] columnLayout,
double[] rowLayout)
Creates a new
IAnimation for the given table that animates the table and its
stripes . |
Modifier and Type | Method and Description |
---|---|
void |
Animator.animate(IAnimation animation)
Animates the given animation instance and triggers the callback upon completion.
|
void |
Animator.animate(IAnimation animation,
IEventHandler<IEventArgs> finishedCallback)
Animates the given animation instance and triggers the callback upon completion.
|
void |
Animator.animateAndWait(IAnimation animation)
Animates the given animation instance.
|
static IAnimation |
IAnimation.createEasedAnimation(IAnimation animation)
Creates an eased animation for the given base animation.
|
static IAnimation |
IAnimation.createEasedAnimation(IAnimation animation,
double easeIn)
Creates an eased animation for the given base animation.
|
static IAnimation |
IAnimation.createEasedAnimation(IAnimation animation,
double easeIn,
double easeOut)
Creates an eased animation for the given base animation.
|
static IAnimation |
IAnimation.createParallelAnimation(IAnimation... animations)
Creates an
IAnimation according to the composite design pattern that animates multiple animations in parallel. |
static IAnimation |
IAnimation.createParallelAnimation(IAnimation firstAnimation,
Iterable<IAnimation> otherAnimations)
Creates an
IAnimation according to the composite design pattern that animates multiple animations in parallel to
this animation. |
static IAnimation |
IAnimation.createParallelAnimation(IAnimation firstAnimation,
Iterable<IAnimation> otherAnimations,
boolean isSynchronized)
Creates an
IAnimation according to the composite design pattern that animates multiple animations in parallel to
this animation. |
Modifier and Type | Method and Description |
---|---|
static IAnimation |
IAnimation.createParallelAnimation(IAnimation firstAnimation,
Iterable<IAnimation> otherAnimations)
Creates an
IAnimation according to the composite design pattern that animates multiple animations in parallel to
this animation. |
static IAnimation |
IAnimation.createParallelAnimation(IAnimation firstAnimation,
Iterable<IAnimation> otherAnimations,
boolean isSynchronized)
Creates an
IAnimation according to the composite design pattern that animates multiple animations in parallel to
this animation. |
static IAnimation |
IAnimation.createParallelAnimation(Iterable<IAnimation> animations)
Creates an
IAnimation according to the composite design pattern that animates multiple animations in parallel. |
static IAnimation |
IAnimation.createParallelAnimation(Iterable<IAnimation> animations,
boolean isSynchronized)
Creates an
IAnimation according to the composite design pattern that animates multiple animations in parallel. |