documentationfor yFiles for HTML 3.0.0.3

Usages of LayoutGraphItem

Method Return Values

nodeEdgeBetweenness (LayoutGraph, boolean?, IMapper<LayoutEdge,number>?)in LayoutGraphAlgorithmsComputes the betweenness centrality for each node and edge in the specified graph.
createLayoutData (LayoutGraph)in HierarchicalLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the HierarchicalLayout.

Method Parameters

hasConstraints (LayoutGraphItem)in LayoutGraphSequenceConstraints

Returns whether any constraints are defined for the given item.

removeConstraint (LayoutGraphItem, OrderingConstraint, LayoutGraphItem)in LayoutGraphSequenceConstraints

Removes the constraint defined for the given source item, ordering constraint, and target item.

Extending Types

LayoutEdgeRepresents a directed edge, a connection between two nodes, in the LayoutGraph data structure.
LayoutNodeRepresents a node in the directed graph data structure LayoutGraph.