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. |
com.yworks.yfiles.view.input |
Contains definitions, default implementations, and support classes that deal with the user interaction in a
CanvasControl in general, as well as specialized utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a GraphControl . |
Modifier and Type | Method and Description |
---|---|
static void |
LayoutUtilities.morphLayout(GraphControl graphControl,
ILayoutAlgorithm layout,
Duration morphDuration)
Convenience method that runs a layout on the graph of a given graph control, animates the transition, and calls the
given
doneHandler once the animation has finished. |
static void |
LayoutUtilities.morphLayout(GraphControl graphControl,
ILayoutAlgorithm layout,
Duration morphDuration,
IEventHandler<LayoutEventArgs> doneHandler)
Convenience method that runs a layout on the graph of a given graph control, animates the transition, and calls the
given
doneHandler once the animation has finished. |
static void |
LayoutUtilities.morphLayout(GraphControl control,
ILayoutAlgorithm layout,
Duration morphDuration,
LayoutData layoutData)
Convenience method that runs a layout on the graph of a given graph control, animates the transition, and calls the
given
doneHandler once the animation has finished. |
static void |
LayoutUtilities.morphLayout(GraphControl control,
ILayoutAlgorithm layout,
Duration morphDuration,
LayoutData layoutData,
IEventHandler<LayoutEventArgs> doneHandler)
Convenience method that runs a layout on the graph of a given graph control, animates the transition, and calls the
given
doneHandler once the animation has finished. |
Modifier and Type | Method and Description |
---|---|
protected GraphControl |
LayoutExecutor.getGraphControl()
Gets the control this instance has been created for.
|
Constructor and Description |
---|
LayoutExecutor(GraphControl graphControl,
IGraph graph,
ILayoutAlgorithm layout)
Initializes a new instance of the
LayoutExecutor class. |
LayoutExecutor(GraphControl graphControl,
ILayoutAlgorithm layout)
Initializes a new instance of the
LayoutExecutor class. |
Modifier and Type | Method and Description |
---|---|
GraphControl |
GraphOverviewControl.getGraphControl()
Gets the client control, that will be used to retrieve the graph from and that will be used for navigating.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<GraphControl> |
GraphOverviewControl.graphControlProperty()
The property for the
client control , that will be used to retrieve the graph from and that will be used for navigating. |
Modifier and Type | Method and Description |
---|---|
void |
GraphOverviewControl.setGraphControl(GraphControl value)
Sets the client control, that will be used to retrieve the graph from and that will be used for navigating.
|
Constructor and Description |
---|
GraphOverviewControl(GraphControl graphControl)
Creates a new instance that is initially bound to the given control.
|
Modifier and Type | Method and Description |
---|---|
GraphControl |
NavigationInputMode.getGraphControl()
Gets the
GraphControl this mode acts on. |
GraphControl |
GraphEditorInputMode.getGraphControl()
Gets the
GraphControl instance this mode is working on or null . |
Modifier and Type | Method and Description |
---|---|
protected void |
GraphEditorInputMode.onGraphControlChanged(GraphControl oldGraphControl,
GraphControl newGraphControl)
Called when the
GraphControl property changes. |
protected void |
NavigationInputMode.selectItem(GraphControl graphControl,
IModelItem item,
boolean extendSelection)
Callback that selects the given item.
|
protected boolean |
NavigationInputMode.setCurrentItem(GraphControl graphControl,
IModelItem item)
Callback that actually sets the current item property.
|
void |
NavigationInputMode.setGraphControl(GraphControl value)
Sets the
GraphControl this mode acts on. |
protected void |
NavigationInputMode.setGraphControlCore(GraphControl graphControl)
Sets the
GraphControl to use for the various actions. |