DroidDiagram Programmer's Guide
OrthogonalRouter Members
Constructors Methods
 


Implements an orthogonal link routing algorithm.

The following tables list the members exposed by the OrthogonalRouter type.

 Public Constructors

  Name Description

OrthogonalRouter

Initializes a new instance of the OrthogonalLayout class.

 Public Methods

  Name Description

arrange

Applies the layout on the specified subset of items from the specified Diagram instance.

getAnchoring

Gets how to align links to the anchor points of nodes. (Inherited from AbstractLayout.)

getBaseLayout

Gets a value indicating whether to arrange nodes or use their current configuration.

getBendDistance

Gets how far from its adjacent node a link should bend. This should be a value between 0 and 1, specifying a distance proportional to the node size.

getDirection

Gets the direction of the arranged diagram when BaseLayout is set to Layered. This value is assigned to the Direction property of the base LayeredLayout.

getEndOrientation

Gets the desired orientation of the last segments of routed links.

getGridSize

Gets the distance between adjacent grid points when BaseLayout is set to Grid. This value is assigned to the GridSize property of the base GridLayout.

getGrowToFit

Gets a value indicating whether the diagram boundaries should grow to fit the arranged content. (Inherited from AbstractLayout.)

getKeepGroupLayout

Gets a value indicating whether to treat each Group of nodes as a single vertex in the arranged graph. (Inherited from AbstractLayout.)

getLayerDistance

Gets the desired distance between layer axis lines. Specifies the distance between layers when BaseLayout is set to Layered or Cascading.

getLayoutLink

Gets an object, which is notified when the position of a link is changed by the layout. (Inherited from AbstractLayout.)

getLayoutNode

Gets an object, which is notified when the position of a node is changed by the layout. (Inherited from AbstractLayout.)

getMargins

Gets the distance between the top-left corner of the smallest rectangle containing the arranged diagram and the top-left point of the document bounds. (Inherited from AbstractLayout.)

getMultipleGraphsPlacement

Gets a value indicating how multiple independent graphs in the diagram should be positioned relatively to each other. (Inherited from AbstractLayout.)

getNodeDistance

Gets the desired distance between adjacent nodes in a layer. Specifies the distance between nodes in the same layer when BaseLayout is set to Layered or Cascading.

getOrientation

Gets the overall orientation of the arranged diagram when BaseLayout is set to Layered. This value is assigned to the Orientation property of the base LayeredLayout.

getProgress

Gets the progress callback delegate. (Inherited from AbstractLayout.)

getPutEndPointsAtNodeBorders

Gets a value indicating whether the end points of a link should be placed at the outlines of the nodes connected by that link.

getRandomSeed

Gets the randomization seed to use for generating random node positions.

getRoot

Gets a node indicating which subgraph of the diagram must be laid out. All links and nodes that can be reached from the root by following recursively its links form a graph. If the root is specified, only the graph which it defines is laid out by {#link arrange}.

getSplitGraph

Gets a value indicating whether unconnected subgraphs should be laid out independently from each other. If this property is set to true, each independent graph in the diagram is laid out in its own layout area. Otherwise all subgraphs are arranged in the same layout area. If a Root node is specified and SplitGraph is true, only the graph that contains the root node will be arranged.

getStartOrientation

Gets the desired orientation of the first segments of routed links.

removeMidleSegmentPoint

  (Inherited from AbstractLayout.)

setAnchoring

Sets how to align links to the anchor points of nodes. (Inherited from AbstractLayout.)

setBaseLayout

Sets a value indicating whether to arrange nodes or use their current configuration.

setBendDistance

Sets how far from its adjacent node a link should bend. This should be a value between 0 and 1, specifying a distance proportional to the node size.

setDirection

Sets the direction of the arranged diagram when BaseLayout is set to Layered. This value is assigned to the Direction property of the base LayeredLayout.

setEndOrientation

Sets the desired orientation of the last segments of routed links.

setGridSize

Sets the distance between adjacent grid points when BaseLayout is set to Grid. This value is assigned to the GridSize property of the base GridLayout.

setGrowToFit

Sets a value indicating whether the diagram boundaries should grow to fit the arranged content. (Inherited from AbstractLayout.)

setKeepGroupLayout

Sets a value indicating whether to treat each Group of nodes as a single vertex in the arranged graph. (Inherited from AbstractLayout.)

setLayerDistance

Sets the desired distance between layer axis lines. Specifies the distance between layers when BaseLayout is set to Layered or Cascading.

setLayoutLink

Sets an object, which is notified when the position of a link is changed by the layout. (Inherited from AbstractLayout.)

setLayoutNode

Sets an object, which is notified when the position of a node is changed by the layout. (Inherited from AbstractLayout.)

setMargins

Sets the distance between the top-left corner of the smallest rectangle containing the arranged diagram and the top-left point of the document bounds. (Inherited from AbstractLayout.)

setMultipleGraphsPlacement

Sets a value indicating how multiple independent graphs in the diagram should be positioned relatively to each other. (Inherited from AbstractLayout.)

setNodeDistance

Sets the desired distance between adjacent nodes in a layer. Specifies the distance between nodes in the same layer when BaseLayout is set to Layered or Cascading.

setProgress

Sets the progress callback delegate. (Inherited from AbstractLayout.)

setPutEndPointsAtNodeBorders

Sets a value indicating whether the end points of a link should be placed at the outlines of the nodes connected by that link.

setRandomSeed

Sets the randomization seed to use for generating random node positions.

setRoot

Sets a node indicating which subgraph of the diagram must be laid out. All links and nodes that can be reached from the root by following recursively its links form a graph. If the root is specified, only the graph which it defines is laid out by {#link arrange}.

setSplitGraph

Sets a value indicating whether unconnected subgraphs should be laid out independently from each other. If this property is set to true, each independent graph in the diagram is laid out in its own layout area. Otherwise all subgraphs are arranged in the same layout area. If a Root node is specified and SplitGraph is true, only the graph that contains the root node will be arranged.

setStartOrientation

Sets the desired orientation of the first segments of routed links.

 See Also

OrthogonalRouter Class
com.mindfusion.diagramming Namespace