documentationfor yFiles for HTML 2.6

Usages of INodeLayout

Method Return Values

getLayout (YNode)in CopiedLayoutGraphReturns the layout information for the given node of the copied graph.
createNodeLayout ()in DefaultLayoutGraphCreates a new implementation of INodeLayout.
getLayout (YNode)in DefaultLayoutGraph
getLayout (YNode)in LayoutGraphReturns the layout information for the given node.
createEdgePortLayout (IPort)in LayoutGraphAdapterCallback factory method that creates the INodeLayout for the given IPort that is used as a dummy to represent the port at the IEdge that owns port.
createNodeLayout (INode)in LayoutGraphAdapterFactory method that creates a INodeLayout implementation that wraps the given INode
getNodeLayout (Object)in LayoutGraphAdapterReturns the layout information associated with the given node.

Method Parameters

createBorderLine (number, INodeLayout)in INodeDataCreates, stores and returns a BorderLine for the given side or returns the current BorderLine instance if it already exists.
setLayout (YNode, INodeLayout)in DefaultLayoutGraphSpecifies the layout information for the given node.
createModelParameter (YOrientedRectangle, IEdgeLayout, INodeLayout, INodeLayout)in DiscreteEdgeLabelLayoutModel
getLabelCandidates (IEdgeLabelLayout, IEdgeLayout, INodeLayout, INodeLayout)in DiscreteEdgeLabelLayoutModel
getLabelPlacement (YDimension, IEdgeLayout, INodeLayout, INodeLayout, Object)in DiscreteEdgeLabelLayoutModel
getLabelPlacementForPosition (YDimension, IEdgeLayout, INodeLayout, INodeLayout, DiscreteEdgeLabelPositions)in DiscreteEdgeLabelLayoutModelReturns the oriented box of the label for the given label position.
createModelParameter (YOrientedRectangle, INodeLayout)in DiscreteNodeLabelLayoutModel
getLabelCandidates (INodeLabelLayout, INodeLayout)in DiscreteNodeLabelLayoutModel
getLabelPlacement (YDimension, INodeLayout, Object)in DiscreteNodeLabelLayoutModel
getLabelPlacementForPosition (YDimension, INodeLayout, DiscreteNodeLabelPositions)in DiscreteNodeLabelLayoutModelReturns the oriented box of the label for the given label position.
createModelParameter (YOrientedRectangle, IEdgeLayout, INodeLayout, INodeLayout)in FreeEdgeLabelLayoutModelCreates a model parameter that represents the given edge label position within this model.
getLabelCandidates (IEdgeLabelLayout, IEdgeLayout, INodeLayout, INodeLayout)in FreeEdgeLabelLayoutModelReturns the EdgeLabelCandidate that describes the current label position.
getLabelPlacement (YDimension, IEdgeLayout, INodeLayout, INodeLayout, Object)in FreeEdgeLabelLayoutModel
createModelParameter (YOrientedRectangle, INodeLayout)in FreeNodeLabelLayoutModelCreates a model parameter that represents the given node label position within this model.
getLabelCandidates (INodeLabelLayout, INodeLayout)in FreeNodeLabelLayoutModelReturns the NodeLabelCandidate that describes the current label position.
getLabelPlacement (YDimension, INodeLayout, Object)in FreeNodeLabelLayoutModel
createModelParameter (YOrientedRectangle, IEdgeLayout, INodeLayout, INodeLayout)in IEdgeLabelLayoutModelCreates a model parameter that represents the given edge label position within this model.
getLabelCandidates (IEdgeLabelLayout, IEdgeLayout, INodeLayout, INodeLayout)in IEdgeLabelLayoutModelReturns all EdgeLabelCandidates that describe valid label positions within this model.
getLabelPlacement (YDimension, IEdgeLayout, INodeLayout, INodeLayout, Object)in IEdgeLabelLayoutModelReturns the oriented box of the label for the position encoded by the given model parameter.
calculateIntersectionPoint (INodeLayout, number, number, number, number)in IIntersectionCalculatorCalculates an intersection point between the edge and the given INodeLayout.
create (function(INodeLayout, number, number, number, number):YPoint)in IIntersectionCalculatorCreates an implementation of the interface IIntersectionCalculator by using the given function as implementation for its calculateIntersectionPoint method.
createModelParameter (YOrientedRectangle, INodeLayout)in INodeLabelLayoutModelCreates a model parameter that represents the given node label position within this model.
getLabelCandidates (INodeLabelLayout, INodeLayout)in INodeLabelLayoutModelReturns all NodeLabelCandidates that describe valid label positions within this model.
getLabelPlacement (YDimension, INodeLayout, Object)in INodeLabelLayoutModelReturns the bounds of the label for the position encoded by the given model parameter.
clipEdgePathOnBounds (IEdgeLayout, INodeLayout, INodeLayout, number?)in LayoutGraphUtilitiesReturns the path of an edge clipped on insets of the bounding box of the source and target node.
getLabelPlacement (INodeLabelLayoutModel, YDimension, INodeLayout, Object)in LayoutGraphUtilitiesReturns the upper-left corner of the paraxial bounding box of the given node label as encoded by the specified model parameter.
getLabelPlacement (IEdgeLabelLayoutModel, YDimension, IEdgeLayout, INodeLayout, INodeLayout, Object)in LayoutGraphUtilitiesReturns the upper-left corner of the paraxial bounding box of the given edge label as encoded by the specified model parameter.
isEdgeOutsideNodes (IEdgeLayout, INodeLayout, INodeLayout, number)in LayoutGraphUtilitiesChecks whether or not the path of an edge is outside the bounding box of the source and target node, considering the given halo.
createModelParameter (YOrientedRectangle, IEdgeLayout, INodeLayout, INodeLayout)in SliderEdgeLabelLayoutModel
getLabelCandidates (IEdgeLabelLayout, IEdgeLayout, INodeLayout, INodeLayout)in SliderEdgeLabelLayoutModelReturns all EdgeLabelCandidates that describe valid label positions within this model.
getLabelPlacement (YDimension, IEdgeLayout, INodeLayout, INodeLayout, Object)in SliderEdgeLabelLayoutModel
calculateParentConnector (LayoutGraph, YNode, INodeLayout, SubtreeShape, Edge, IEdgeLayout, number)in DefaultNodePlacerCalculates the bends for the connector to the parent node.
calculateSlopedSourceEdgeLayout (INodeLayout, SubtreeShape, Edge, number, number)in DefaultNodePlacerCalculates the routing of the source side of the edge to the given child node.
calculateSourceEdgeLayout (INodeLayout, SubtreeShape, Edge)in DefaultNodePlacerCalculates the routing of the source side of the edge to the given child node.
calculateTargetEdgeLayout (INodeLayout, SubtreeShape, Edge)in DefaultNodePlacerCalculates the routing of the target side of the edge to the given child node.