documentationfor yFiles for HTML 3.0.0.3

LayoutGraphAdapter

Adapter class that can be used to obtain a layoutGraph from an IGraph.

Inheritance Hierarchy
LayoutGraphAdapter

Remarks

Typically, this class is not used directly but through the LayoutExecutor or applyLayout and applyLayoutAnimated.

In addition, this class supports IGraphs with edge to edge connections, i.e., edges that are adjacent to other edges. Since such edges are not allowed in a layoutGraph, the property hideEdgesAtEdges specifies whether these edges shouldn't be converted into the layout graph at all or converted into a corresponding structure with helper nodes.

Related Reading in the Developer's Guide

The chapter Applying an Automatic Layout describes how automatic layout and graph analysis algorithms from the yFiles Layout and yFiles Basic library components can be accessed from @COMPONENT_NAME@.

Type Details

yFiles module
view-layout-bridge
It is important to call initialize before using methods mapping from the original to the copied item and vice-versa (getOriginalNode, getLayoutNode etc.). After calling initialize or accessing the layoutGraph for the first time, changing properties of this instance will have no effect anymore, since they are only relevant for the initialization of the layoutGraph.

Constructors

Properties

Methods

Constants