Attribute "constraint"

Use:optional
Used by:edge
Description:If false, the edge is not used in ranking the nodes.

Normally, edges are used to place the nodes on ranks. In the second graph below, all nodes were placed on different ranks. In the first example, the edge b -> c does not add a constraint during rank assignment, so the only constraints are that a be above b and c.
Values:true / false
Default Value:false
Sponsored links:

Example 1/2:
Source code:
'
(graph ((label "constraint='false'"))
 
(node ((id "a")))
(node ((id "b")))
(node ((id "c")))
(edge ((from "a") (to "b")))
(edge ((from "a") (to "c")))
(edge ((from "b") (to "c") (constraint "false"))))
Example 2/2:
Source code:
'
(graph ((label "constraint='true'"))
 
(node ((id "a")))
(node ((id "b")))
(node ((id "c")))
(edge ((from "a") (to "b")))
(edge ((from "a") (to "c")))
(edge ((from "b") (to "c") (constraint "true"))))
Sponsored links

 Copyright 2006-2010 by Martin Loetzsch (http://martin-loetzsch.de), all rights reserved. See the S-Dot licence for details.