Debian Codegraph @

doc/schema/attributes.xml

raw
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="attributes.xslt" type="text/xsl"?>
3 <xsd:schema
4 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5 xmlns:html="http://www.w3.org/1999/xhtml"
6 xmlns:gv="urn:graphviz">
7
8 <!--
9 microformats in xsd:documentation
10 ========================================
11
12 class
13 val: a value of the enclosing attribute
14
15 rel
16 attr: link to an attribute
17 type: link to an attribute type
18
19 -->
20
21 <!-- NOTES -->
22 <xsd:annotation id="introduction">
23 <xsd:documentation>
24 <html:p>
25 All Graphviz attributes are specified by name-value pairs. Thus, to
26 set the fillcolor of a node <html:code>abc</html:code>, one would use
27 </html:p>
28 <html:p>
29 <html:code>abc [fillcolor = red]</html:code>
30 </html:p>
31 <html:p>
32 Similarly, to set the arrowhead style of an edge <html:code>abc -> def</html:code>,
33 one would use
34 </html:p>
35 <html:p>
36 <html:code>abc -> def [arrowhead = diamond]</html:code>
37 </html:p>
38 <html:p>
39 Further details concerning the setting of attributes can be found
40 in the description of the
41 <html:a href="http://www.graphviz.org/doc/info/lang.html">DOT language.</html:a>
42 </html:p>
43 </xsd:documentation> </xsd:annotation>
44
45 <xsd:annotation id="points">
46 <xsd:documentation>
47 <html:p>
48 At present, most device-independent units are either inches or
49 <html:a href="http://en.wikipedia.org/wiki/Point_(typography)">points</html:a>,
50 which we take as 72 points per inch.
51 </html:p>
52 </xsd:documentation>
53
54 </xsd:annotation>
55
56 <xsd:annotation id="undirected">
57 <xsd:documentation>
58 <html:p>
59 Some attributes, such as
60 <html:a rel="attr">dir</html:a> or <html:a rel="attr">arrowtail</html:a>, are
61 ambiguous when used in
62 <html:a href="http://www.graphviz.org/doc/info/lang.html">DOT</html:a>
63 with an undirected graph since the head and tail of an edge are meaningless.
64 As a convention, the first time an undirected edge appears, the
65 <html:a href="http://www.graphviz.org/doc/info/lang.html">DOT</html:a>
66 parser will assign the left node as the tail node and the right node as
67 the head. For example, the edge <html:code>A -- B</html:code> will have tail <html:code>A</html:code>
68 and head <html:code>B</html:code>. It is the user's responsibility to handle such
69 edges consistently. If the edge appears later, in the format
70 </html:p>
71 <html:p>
72 <html:code>B -- A [taillabel = "tail"]</html:code>
73 </html:p>
74 <html:p>
75 the drawing will attach the tail label to node <html:code>A</html:code>.
76 To avoid possible confusion when such attributes are required, the user
77 is encouraged to use a directed graph.
78 If it is important to make the graph appear undirected, this can be
79 done using the <html:a rel="attr">dir</html:a>, <html:a rel="attr">arrowtail</html:a>
80 or <html:a rel="attr">arrowhead</html:a> attributes.
81 </html:p>
82 </xsd:documentation>
83 </xsd:annotation>
84
85 <!-- ATTRIBUTE TYPES -->
86
87 <!--
88 <xsd:simpleType name="arrowType">
89 </xsd:simpleType>
90 -->
91
92 <xsd:simpleType name="clusterMode">
93 <xsd:restriction base="xsd:string">
94 <xsd:enumeration value="local" />
95 <xsd:enumeration value="global" />
96 <xsd:enumeration value="none" />
97 </xsd:restriction>
98 </xsd:simpleType>
99
100 <!--
101 <xsd:simpleType name="color">
102 </xsd:simpleType>
103 -->
104
105 <xsd:simpleType name="colorList">
106 <xsd:list itemType="color" />
107 </xsd:simpleType>
108
109 <xsd:simpleType name="dirType">
110 <xsd:annotation>
111 <xsd:documentation>
112 <html:p>
113 For undirected edges <html:code>T -- H;</html:code>, one of the nodes, usually
114 the righthand one, is treated as the head for the purpose of
115 interpreting <html:span class="val">forward</html:span> and <html:span class="val">back</html:span>.
116 </html:p>
117 </xsd:documentation>
118 </xsd:annotation>
119 <xsd:restriction base="xsd:string">
120 <xsd:enumeration value="forward" />
121 <xsd:enumeration value="back" />
122 <xsd:enumeration value="both" />
123 <xsd:enumeration value="none" />
124 </xsd:restriction>
125 </xsd:simpleType>
126
127
128 <xsd:simpleType name="escString">
129 <xsd:annotation>
130 <xsd:documentation>
131 <html:p>
132 String allowing escape sequences which are replaced according
133 to the context.
134 For node attributes, the substring <html:code>\N</html:code> is replaced by the name of the node,
135 and the substring <html:code>\G</html:code> by the name of the graph.
136 For graph or cluster attributes, the substring <html:code>\G</html:code> is replaced by the
137 name of the graph or cluster.
138 For edge attributes, the substring <html:code>\E</html:code> is replaced by the name of the edge,
139 the substring <html:code>\G</html:code> is replaced by the name of the graph or cluster,
140 and the substrings <html:code>\T</html:code> and <html:code>\H</html:code> by the names of
141 the tail and head nodes, respectively.
142 The name of an edge is the string formed from the name of the
143 tail node, the appropriate edge operator (<html:code>--</html:code> or <html:code>-></html:code>) and the name of the
144 head node.
145 </html:p>
146 <html:p>
147 In addition, if the associated attribute is
148 <html:a rel="attr">label</html:a>,
149 <html:a rel="attr">headlabel</html:a> or <html:a rel="attr">taillabel</html:a>,
150 the escape sequences <html:code>\n</html:code>, <html:code>\l</html:code> and <html:code>\r</html:code>
151 divide the label into lines, centered, left-justified, and right-justified,
152 respectively.
153 </html:p>
154 </xsd:documentation>
155 </xsd:annotation>
156 <xsd:restriction base="xsd:string" />
157 </xsd:simpleType>
158 <!--
159 layerList
160 layerRange
161 lblString
162 -->
163
164 <xsd:simpleType name="outputMode">
165 <xsd:annotation>
166 <xsd:documentation>
167 <html:p>
168 These specify the order in which nodes and edges are drawn in concrete
169 output. The default <html:span class="val">breadthfirst</html:span> is the simplest, but when the graph
170 layout does not avoid edge-node overlap, this mode will sometimes have
171 edges drawn over nodes and sometimes on top of nodes. If the mode
172 <html:span class="val">nodesfirst</html:span> is chosen, all nodes are drawn first, followed by the
173 edges. This guarantees an edge-node overlap will not be mistaken for
174 an edge ending at a node. On the other hand, usually for aesthetic
175 reasons, it may be desirable that all edges appear beneath nodes, even
176 if the resulting drawing is ambiguous. This can be achieved by choosing
177 <html:span class="val">edgesfirst</html:span>.
178 </html:p>
179 </xsd:documentation>
180 </xsd:annotation>
181 <xsd:restriction base="xsd:string">
182 <xsd:enumeration value="breadthfirst" />
183 <xsd:enumeration value="nodesfirst" />
184 <xsd:enumeration value="edgesfirst" />
185 </xsd:restriction>
186 </xsd:simpleType>
187
188 <xsd:simpleType name="packMode">
189 <xsd:annotation>
190 <xsd:documentation>
191 <html:p>
192 These specify the granularity of packing connected components when
193 the <html:a rel="attr">pack</html:a> attribute is true. A value of <html:span class="val">node</html:span> causes
194 packing at the node and edge label, with no overlapping of these objects.
195 This produces a layout with the least area, but it also allows interleaving,
196 where a node of one component may lie between two nodes in another
197 component. A value of <html:span class="val">graph</html:span> does a packing using the bounding box of the
198 component. Thus, there will be a rectangular region around a component
199 free of elements of any other component.
200 A value of <html:span class="val">clust</html:span> guarantees that top-level clusters are kept intact.
201 What effect a value has also depends on the layout algorithm. For
202 example, neato does not support clusters, so a value of <html:span class="val">clust</html:span> will
203 have the same effect as the default <html:span class="val">node</html:span> value.
204 </html:p>
205 </xsd:documentation>
206 </xsd:annotation>
207 <xsd:restriction base="xsd:string">
208 <xsd:enumeration value="node" />
209 <xsd:enumeration value="clust" />
210 <xsd:enumeration value="graph" />
211 </xsd:restriction>
212 </xsd:simpleType>
213
214 <xsd:simpleType name="pagedir">
215 <xsd:annotation>
216 <xsd:documentation>
217 <html:p>
218 These specify the 8 row or column major orders for traversing a
219 rectangular array, the first character corresponding to the major
220 order and the second to the minor order. Thus, for "BL", the
221 major order is from bottom to top, and the minor order is from left
222 to right. This means the bottom row is traversed first, from left
223 to right, then the next row up, from left to right, and so on,
224 until the topmost row is traversed.
225 </html:p>
226 </xsd:documentation>
227 </xsd:annotation>
228 <xsd:restriction base="xsd:string">
229 <xsd:enumeration value="BL" />
230 <xsd:enumeration value="BR" />
231 <xsd:enumeration value="TL" />
232 <xsd:enumeration value="TR" />
233 <xsd:enumeration value="RB" />
234 <xsd:enumeration value="RT" />
235 <xsd:enumeration value="LB" />
236 <xsd:enumeration value="LT" />
237 </xsd:restriction>
238 </xsd:simpleType>
239
240 <!--
241 point
242 pointf
243 -->
244
245 <xsd:simpleType name="pointfList">
246 <xsd:annotation>
247 <xsd:documentation>
248 <html:p>
249 List of <html:a rel="type">pointf</html:a>, separated by spaces.
250 </html:p>
251 </xsd:documentation>
252 </xsd:annotation>
253 <xsd:list itemType="pointf" />
254 </xsd:simpleType>
255 <!--
256 portPos
257 -->
258
259 <xsd:simpleType name="rankType">
260 <xsd:restriction base="xsd:string">
261 <xsd:enumeration value="same" />
262 <xsd:enumeration value="min" />
263 <xsd:enumeration value="source" />
264 <xsd:enumeration value="max" />
265 <xsd:enumeration value="sink" />
266 </xsd:restriction>
267 </xsd:simpleType>
268
269 <xsd:simpleType name="rankdir">
270 <xsd:annotation>
271 <xsd:documentation>
272 <html:p>
273 Corresponding to directed graphs drawn
274 from top to bottom, from left to right, from bottom to top, and from
275 right to left, respectively.
276 </html:p>
277 </xsd:documentation>
278 </xsd:annotation>
279 <xsd:restriction base="xsd:string">
280 <xsd:enumeration value="TB" />
281 <xsd:enumeration value="LR" />
282 <xsd:enumeration value="BT" />
283 <xsd:enumeration value="RL" />
284 </xsd:restriction>
285 </xsd:simpleType>
286
287 <!--
288 rect
289 -->
290
291 <xsd:simpleType name="shape">
292 <xsd:restriction base="xsd:string">
293 <xsd:enumeration value="box" />
294 <xsd:enumeration value="polygon" />
295 <xsd:enumeration value="ellipse" />
296 <xsd:enumeration value="circle" />
297 <xsd:enumeration value="point" />
298 <xsd:enumeration value="egg" />
299 <xsd:enumeration value="triangle" />
300 <xsd:enumeration value="plaintext" />
301 <xsd:enumeration value="diamond" />
302 <xsd:enumeration value="trapezium" />
303 <xsd:enumeration value="parallelogram" />
304 <xsd:enumeration value="house" />
305 <xsd:enumeration value="pentagon" />
306 <xsd:enumeration value="hexagon" />
307 <xsd:enumeration value="septagon" />
308 <xsd:enumeration value="octagon" />
309 <xsd:enumeration value="doublecircle" />
310 <xsd:enumeration value="doubleoctagon" />
311 <xsd:enumeration value="tripleoctagon" />
312 <xsd:enumeration value="invtriangle" />
313 <xsd:enumeration value="invtrapezium" />
314 <xsd:enumeration value="invhouse" />
315 <xsd:enumeration value="Mdiamond" />
316 <xsd:enumeration value="Msquare" />
317 <xsd:enumeration value="Mcircle" />
318 <xsd:enumeration value="rect" />
319 <xsd:enumeration value="rectangle" />
320 <xsd:enumeration value="none" />
321 <xsd:enumeration value="note" />
322 <xsd:enumeration value="tab" />
323 <xsd:enumeration value="box3d" />
324 <xsd:enumeration value="component" />
325 </xsd:restriction>
326 </xsd:simpleType>
327
328 <!--
329 splineType
330 startType
331 style
332 viewPort
333 -->
334
335 <!-- ATTRIBUTES -->
336
337 <xsd:attribute name="imagepath" type="xsd:string" default="UTF-8">
338 <xsd:annotation>
339 <xsd:documentation>
340 <html:p>
341 Specifies the path to images referenced within the graph.
342 </html:p>
343 </xsd:documentation>
344 </xsd:annotation>
345 </xsd:attribute>
346
347 <xsd:attribute name="Damping" type="xsd:decimal" default="0.99" gv:layouts="neato">
348 <xsd:annotation>
349 <xsd:documentation>
350 <html:p>
351 Factor damping force motions. On each iteration, a nodes movement
352 is limited to this factor of its potential motion. By being less than
353 1.0, the system tends to "cool", thereby preventing cycling.
354 </html:p>
355 </xsd:documentation>
356 </xsd:annotation>
357 </xsd:attribute>
358
359 <xsd:attribute name="K" type="xsd:decimal" default="0.3" gv:layouts="fdp">
360 <xsd:annotation>
361 <xsd:documentation>
362 <html:p>
363 Spring constant used in virtual physical model. It roughly corresponds
364 to an ideal edge length (in inches), in that increasing K tends to
365 increase the distance between nodes.
366 Note that the edge attribute <html:a rel="attr">len</html:a> can be used to
367 override this value for adjacent nodes.
368 </html:p>
369 </xsd:documentation>
370 </xsd:annotation>
371 </xsd:attribute>
372
373 <xsd:attribute name="URL" type="xsd:anyURI" gv:formats="svg ps ps2 map">
374 <xsd:annotation>
375 <xsd:documentation>
376 <html:p>
377 Hyperlinks incorporated into device-dependent output.
378 At present, used in ps2, cmap, i*map and svg formats.
379 For all these formats, URLs can be attached to nodes, edges and
380 clusters. URL attributes can also be attached to the root graph in ps2,
381 cmap and i*map formats. This serves as the base URL for relative URLs in the
382 former, and as the default image map file in the latter.
383 </html:p>
384 <html:p>
385 For svg, cmapx and imap output, the active area for a node is its
386 visible image.
387 For example, an unfilled node with no drawn boundary will only be active on its label.
388 For other output, the active area is its bounding box.
389 The active area for a cluster is its bounding box.
390 For edges, the active areas are small circles where the edge contacts its head
391 and tail nodes. In addition, for svg, cmapx and imap, the active area
392 includes a thin polygon approximating the edge. The circles may
393 overlap the related node, and the edge URL dominates.
394 If the edge has a label, this will also be active.
395 Finally, if the edge has a head or tail label, this will also be active.
396 </html:p>
397 <html:p>
398 Note that, for edges, the attributes <html:a rel="attr">headURL</html:a>,
399 <html:a rel="attr">tailURL</html:a>, <html:a rel="attr">labelURL</html:a> and
400 <html:a rel="attr">edgeURL</html:a> allow control of various parts of an
401 edge. Also note that, if active areas of two edges overlap, it is unspecified
402 which area dominates.
403 </html:p>
404 </xsd:documentation>
405 </xsd:annotation>
406 </xsd:attribute>
407
408 <xsd:attribute name="arrowhead" type="arrowType" default="normal">
409 <xsd:annotation>
410 <xsd:documentation>
411 <html:p>
412 Style of arrowhead on the head node of an edge.
413 See also the <html:a rel="attr">dir</html:a> attribute,
414 and the <html:a rel="note">undirected</html:a> note.
415 </html:p>
416 </xsd:documentation>
417 </xsd:annotation>
418 </xsd:attribute>
419
420 <xsd:attribute name="arrowsize" type="xsd:decimal" default="1.0">
421 <xsd:annotation>
422 <xsd:documentation>
423 <html:p>
424 Multiplicative scale factor for arrowheads.
425 </html:p>
426 </xsd:documentation>
427 </xsd:annotation>
428 </xsd:attribute>
429
430 <xsd:attribute name="arrowtail" type="arrowType" default="normal">
431 <xsd:annotation>
432 <xsd:documentation>
433 <html:p>
434 Style of arrowhead on the tail node of an edge.
435 See also the <html:a rel="attr">dir</html:a> attribute,
436 and the <html:a rel="note">undirected</html:a> note.
437 </html:p>
438 </xsd:documentation>
439 </xsd:annotation>
440 </xsd:attribute>
441
442 <xsd:attribute name="bb" type="rect">
443 <xsd:annotation>
444 <xsd:documentation>
445 <html:p>
446 Bounding box of drawing in integer points.
447 </html:p>
448 </xsd:documentation>
449 </xsd:annotation>
450 </xsd:attribute>
451
452 <xsd:attribute name="bgcolor" type="color">
453 <xsd:annotation>
454 <xsd:documentation>
455 <html:p>
456 When attached to the root graph, this color is used as the background for
457 entire canvas. When a cluster attribute, it is used as the initial
458 background for the cluster. If a cluster has a filled
459 <html:a rel="attr">style</html:a>, the
460 cluster's <html:a rel="attr">fillcolor</html:a> will overlay the
461 background color.
462 </html:p>
463 <html:p>
464 If no background color is specified for the root graph, no graphics
465 operation are performed on the background. This works fine for
466 PostScript but for bitmap output, all bits are initialized to something.
467 This means that when the bitmap output is included in some other
468 document, all of the bits within the bitmap's bounding box will be
469 set, overwriting whatever color or graphics where already on the page.
470 If this effect is not desired, and you only want to set bits explicitly
471 assigned in drawing the graph, set <html:a rel="attr">bgcolor</html:a>="transparent".
472 </html:p>
473 </xsd:documentation>
474 </xsd:annotation>
475 </xsd:attribute>
476
477 <xsd:attribute name="center" type="xsd:boolean" default="false">
478 <xsd:annotation>
479 <xsd:documentation>
480 <html:p>
481 If true, the drawing is centered in the output canvas.
482 </html:p>
483 </xsd:documentation>
484 </xsd:annotation>
485 </xsd:attribute>
486
487 <xsd:attribute name="charset" type="xsd:string" default="UTF-8">
488 <xsd:annotation>
489 <xsd:documentation>
490 <html:p>
491 Specifies the character encoding used when interpreting string input
492 as a text label. The default value is <html:span class="val">UTF-8</html:span>.
493 The other legal value is <html:span class="val">iso-8859-1</html:span> or,
494 equivalently,
495 <html:span class="val">Latin1</html:span>. The <html:a rel="attr">charset</html:a> attribute is case-insensitive.
496 Note that if the character encoding used in the input does not
497 match the <html:a rel="attr">charset</html:a> value, the resulting output may be very strange.
498 </html:p>
499 </xsd:documentation>
500 </xsd:annotation>
501 </xsd:attribute>
502
503 <xsd:attribute name="clusterrank" type="clusterMode" default="local" gv:layouts="dot">
504 <xsd:annotation>
505 <xsd:documentation>
506 <html:p>
507 Mode used for handling clusters. If <html:a rel="attr">clusterrank</html:a> is <html:span class="val">local</html:span>, a
508 subgraph whose name begins with "cluster" is given special treatment.
509 The subgraph is laid out separately, and then integrated as a unit into
510 its parent graph, with a bounding rectangle drawn about it.
511 If the cluster has a <html:a rel="attr">label</html:a> parameter, this label
512 is displayed within the rectangle.
513 Note also that there can be clusters within clusters.
514 At present, the modes <html:span class="val">global</html:span> and <html:span class="val">none</html:span>
515 appear to be identical, both turning off the special cluster processing.
516 </html:p>
517 </xsd:documentation>
518 </xsd:annotation>
519 </xsd:attribute>
520
521 <xsd:attribute name="color" type="colorList" default="black">
522 <xsd:annotation>
523 <xsd:documentation>
524 <html:p>
525 Basic drawing color for graphics, not text. For the latter, use the
526 <html:a rel="attr">fontcolor</html:a> attribute.
527 </html:p>
528 <html:p>
529 For edges, the value
530 can either be a single <html:a rel="type">color</html:a> or a <html:a rel="type">colorList</html:a>.
531 In the latter case, the edge is drawn using parallel splines or lines,
532 one for each color in the list, in the order given.
533 The head arrow, if any, is drawn using the first color in the list,
534 and the tail arrow, if any, the second color. This supports the common
535 case of drawing opposing edges, but using parallel splines instead of
536 separately routed multiedges.
537 </html:p>
538 </xsd:documentation>
539 </xsd:annotation>
540 </xsd:attribute>
541
542 <xsd:attribute name="colorscheme" type="xsd:string">
543 <xsd:annotation>
544 <xsd:documentation>
545 <html:p>
546 This attribute specifies a color scheme namespace. If defined, it specifies
547 the context for interpreting color names. In particular, if a
548 <html:a rel="type">color</html:a> value has form <html:code>xxx</html:code> or <html:code>//xxx</html:code>,
549 then the color <html:code>xxx</html:code> will be evaluated according to the current color scheme.
550 If no color scheme is set, the standard X11 naming is used.
551 For example, if <html:code>colorscheme=bugn9</html:code>, then <html:code>color=7</html:code>
552 is interpreted as <html:code>/bugn9/7</html:code>.
553 </html:p>
554 </xsd:documentation>
555 </xsd:annotation>
556 </xsd:attribute>
557
558 <xsd:attribute name="comment" type="xsd:string">
559 <xsd:annotation>
560 <xsd:documentation>
561 <html:p>
562 Comments are inserted into output. Device-dependent.
563 </html:p>
564 </xsd:documentation>
565 </xsd:annotation>
566 </xsd:attribute>
567
568 <xsd:attribute name="compound" type="xsd:boolean" default="false" gv:layouts="dot">
569 <xsd:annotation>
570 <xsd:documentation>
571 <html:p>
572 If <html:span class="val">true</html:span>, allow edges between clusters. (See <html:a rel="attr">lhead</html:a> and <html:a rel="attr">ltail</html:a> below.)
573 </html:p>
574 </xsd:documentation>
575 </xsd:annotation>
576 </xsd:attribute>
577
578 <xsd:attribute name="concentrate" type="xsd:boolean" default="false" gv:layouts="dot">
579 <xsd:annotation>
580 <xsd:documentation>
581 <html:p>
582 If <html:span class="val">true</html:span>, use edge concentrators.
583 </html:p>
584 </xsd:documentation>
585 </xsd:annotation>
586 </xsd:attribute>
587
588 <xsd:attribute name="constraint" type="xsd:boolean" default="true" gv:layouts="dot">
589 <xsd:annotation>
590 <xsd:documentation>
591 <html:p>
592 If <html:span class="val">false</html:span>, the edge is not used in ranking the nodes.
593 </html:p>
594 </xsd:documentation>
595 </xsd:annotation>
596 </xsd:attribute>
597
598 <xsd:attribute name="decorate" type="xsd:boolean" default="false">
599 <xsd:annotation>
600 <xsd:documentation>
601 <html:p>
602 If <html:span class="val">true</html:span>, attach edge label to edge by a 2-segment
603 polyline, underlining the label, then going to the closest point of spline.
604 </html:p>
605 </xsd:documentation>
606 </xsd:annotation>
607 </xsd:attribute>
608
609 <xsd:attribute name="defaultdist" type="xsd:decimal" gv:layouts="neato">
610 <xsd:annotation>
611 <xsd:documentation>
612 <html:p>
613 This specifies the distance between nodes in separate connected
614 components. If set too small, connected components may overlap.
615 Only applicable if <html:a rel="attr">pack</html:a>=false.
616 </html:p>
617 </xsd:documentation>
618 </xsd:annotation>
619 </xsd:attribute>
620
621 <xsd:attribute name="dim" type="xsd:integer" default="2" gv:layouts="fdp neato">
622 <xsd:annotation>
623 <xsd:documentation>
624 <html:p>
625 Set the number of dimensions used for the layout. The maximum value
626 allowed is 10.
627 </html:p>
628 </xsd:documentation>
629 </xsd:annotation>
630 </xsd:attribute>
631
632 <xsd:attribute name="dir" type="dirType">
633 <xsd:annotation>
634 <xsd:documentation>
635 <html:p>
636 Set edge type for drawing arrowheads. This indicates which ends of the
637 edge should be decorated with an arrowhead. The actual style of the
638 arrowhead can be specified using the <html:a rel="attr">arrowhead</html:a>
639 and <html:a rel="attr">arrowtail</html:a> attributes.
640 See <html:a rel="note">undirected</html:a>.
641 </html:p>
642 </xsd:documentation>
643 </xsd:annotation>
644 </xsd:attribute>
645
646 <xsd:attribute name="diredgeconstraints" type="xsd:string" default="false" gv:layouts="neato">
647 <xsd:annotation>
648 <xsd:documentation>
649 <html:p>
650 Only valid when <html:a rel="attr">mode</html:a>="ipsep".
651 If <html:span class="val">true</html:span>, constraints are generated for each edge in the largest (heuristic)
652 directed acyclic subgraph such that the edge must point downwards.
653 If <html:span class="val">hier</html:span>, generates level constraints similar to those used with
654 <html:a rel="attr">mode</html:a>="hier". The main difference is that, in the latter
655 case, only these constraints are involved, so a faster solver can be used.
656 </html:p>
657 </xsd:documentation>
658 </xsd:annotation>
659 </xsd:attribute>
660
661 <xsd:attribute name="distortion" type="xsd:decimal" default="0.0">
662 <xsd:annotation>
663 <xsd:documentation>
664 <html:p>
665 Distortion factor for <html:a rel="attr">shape</html:a>=polygon.
666 Positive values cause top part to
667 be larger than bottom; negative values do the opposite.
668 </html:p>
669 </xsd:documentation>
670 </xsd:annotation>
671 </xsd:attribute>
672
673 <xsd:attribute name="dpi" type="xsd:decimal" default="96.0">
674 <xsd:annotation>
675 <xsd:documentation>
676 <html:p>
677 This specifies the expected number of pixels per inch on a display device.
678 For bitmap output, this guarantees that text rendering will be
679 done more accurately, both in size and in placement. For SVG output,
680 it is used to guarantee that the dimensions in the output correspond to
681 the correct number of points or inches.
682 </html:p>
683 </xsd:documentation>
684 </xsd:annotation>
685 </xsd:attribute>
686
687 <xsd:attribute name="edgeURL" type="xsd:anyURI" gv:formats="svg map">
688 <xsd:annotation>
689 <xsd:documentation>
690 <html:p>
691 If <html:a rel="attr">edgeURL</html:a> is defined, this is the link used for the non-label
692 parts of an edge. This value overrides any <html:a rel="attr">URL</html:a>
693 defined for the edge.
694 Also, this value is used near the head or tail node unless overridden
695 by a <html:a rel="attr">headURL</html:a> or <html:a rel="attr">tailURL</html:a> value,
696 respectively.
697 See <html:a rel="note">undirected</html:a>.
698 </html:p>
699 </xsd:documentation>
700 </xsd:annotation>
701 </xsd:attribute>
702
703 <xsd:attribute name="edgehref" type="xsd:anyURI" gv:formats="svg map">
704 <xsd:annotation>
705 <xsd:documentation>
706 <html:p>
707 Synonym for <html:a rel="attr">edgeURL</html:a>.
708 </html:p>
709 </xsd:documentation>
710 </xsd:annotation>
711 </xsd:attribute>
712
713 <xsd:attribute name="edgetarget" type="escString" gv:formats="svg map">
714 <xsd:annotation>
715 <xsd:documentation>
716 <html:p>
717 If the edge has a <html:a rel="attr">URL</html:a> or <html:a rel="attr">edgeURL</html:a>
718 attribute, this attribute determines which window of the
719 browser is used
720 for the URL attached to the non-label part of the edge.
721 Setting it to "_graphviz" will open a new window if it
722 doesn't already exist, or reuse it if it does.
723 If undefined, the value of the <html:a rel="attr">target</html:a> is used.
724 </html:p>
725 </xsd:documentation>
726 </xsd:annotation>
727 </xsd:attribute>
728
729 <xsd:attribute name="edgetooltip" type="escString" gv:formats="svg cmap">
730 <xsd:annotation>
731 <xsd:documentation>
732 <html:p>
733 Tooltip annotation attached to the non-label part of an edge.
734 This is used only if the edge has a <html:a rel="attr">URL</html:a>
735 or <html:a rel="attr">edgeURL</html:a> attribute.
736 </html:p>
737 </xsd:documentation>
738 </xsd:annotation>
739 </xsd:attribute>
740
741 <xsd:attribute name="epsilon" type="xsd:decimal" gv:layouts="neato">
742 <xsd:annotation>
743 <xsd:documentation>
744 <html:p>
745 Terminating condition. If the length squared of all energy gradients are
746 &lt; <html:a rel="attr">epsilon</html:a>, the algorithm stops.
747 </html:p>
748 </xsd:documentation>
749 </xsd:annotation>
750 </xsd:attribute>
751
752 <xsd:attribute name="esep" type="xsd:decimal" gv:layouts="neato circo fdp">
753 <xsd:annotation>
754 <xsd:documentation>
755 <html:p>
756 Fraction to increase polygons (multiply
757 coordinates by 1 + esep) for purposes of spline edge routing.
758 This should normally be strictly less than
759 <html:a rel="attr">sep</html:a>.
760 </html:p>
761 </xsd:documentation>
762 </xsd:annotation>
763 </xsd:attribute>
764
765 <xsd:attribute name="fillcolor" type="color">
766 <xsd:annotation>
767 <xsd:documentation>
768 <html:p>
769 Color used to fill the background of a node or cluster
770 assuming <html:a rel="attr">style</html:a>=filled.
771 If <html:a rel="attr">fillcolor</html:a> is not defined, <html:a rel="attr">color</html:a> is
772 used. (For clusters, if <html:a rel="attr">color</html:a> is not defined,
773 <html:a rel="attr">bgcolor</html:a> is used.) If this is not defined,
774 the default is used, except for
775 <html:a rel="attr">shape</html:a>=point or when the output
776 format is MIF,
777 which use black by default.
778 </html:p>
779 <html:p>
780 Note that a cluster inherits the root graph's attributes if defined.
781 Thus, if the root graph has defined a <html:a rel="attr">fillcolor</html:a>, this will override a
782 <html:a rel="attr">color</html:a> or <html:a rel="attr">bgcolor</html:a> attribute set for the cluster.
783 </html:p>
784 </xsd:documentation>
785 </xsd:annotation>
786 </xsd:attribute>
787
788 <xsd:attribute name="fixedsize" type="xsd:boolean" default="false">
789 <xsd:annotation>
790 <xsd:documentation>
791 <html:p>
792 If true, the node size is specified by the values of the
793 <html:a rel="attr">width</html:a>
794 and <html:a rel="attr">height</html:a> attributes only
795 and is not expanded to contain the text label.
796 </html:p>
797 </xsd:documentation>
798 </xsd:annotation>
799 </xsd:attribute>
800
801 <xsd:attribute name="fontcolor" type="color" default="black">
802 <xsd:annotation>
803 <xsd:documentation>
804 <html:p>
805 Color used for text.
806 </html:p>
807 </xsd:documentation>
808 </xsd:annotation>
809 </xsd:attribute>
810
811 <xsd:attribute name="fontname" type="xsd:string" default="Times-Roman">
812 <xsd:annotation>
813 <xsd:documentation>
814 <html:p>
815 Font used for text. This very much depends on the output format and, for
816 non-bitmap output such as PostScript or SVG, the availability of the font
817 when the graph is displayed or printed. As such, it is best to rely on
818 font faces that are generally available, such as Times-Roman, Helvetica or
819 Courier.
820 </html:p>
821 <html:p>
822 If Graphviz was built using the
823 <html:a href="http://pdx.freedesktop.org/~fontconfig/fontconfig-user.html">fontconfig library</html:a>, the latter library
824 will be used to search for the font. However, if the <html:a rel="attr">fontname</html:a> string
825 contains a slash character "/", it is treated as a pathname for the font
826 file, though font lookup will append the usual font suffixes.
827 </html:p>
828 <html:p>
829 If Graphviz does not use fontconfig, <html:a rel="attr">fontname</html:a> will be
830 considered the name of a Type 1 or True Type font file.
831 If you specify <html:code>fontname=schlbk</html:code>, the tool will look for a
832 file named <html:code>schlbk.ttf</html:code> or <html:code>schlbk.pfa</html:code> or <html:code>schlbk.pfb</html:code>
833 in one of the directories specified by
834 the <html:a rel="attr">fontpath</html:a> attribute.
835 The lookup does support various aliases for the common fonts.
836 </html:p>
837 </xsd:documentation>
838 </xsd:annotation>
839 </xsd:attribute>
840
841 <xsd:attribute name="fontnames" type="xsd:string" gv:formats="svg">
842 <xsd:annotation>
843 <xsd:documentation>
844 <html:p>
845 Allows user control of how basic fontnames are represented in SVG output.
846 If <html:a rel="attr">fontnames</html:a> is undefined or <html:span class="val">svg</html:span>,
847 the output will try to use known SVG fontnames. For example, the
848 default font <html:code>Times-Roman</html:code> will be mapped to the
849 basic SVG font <html:code>serif</html:code>. This can be overridden by setting
850 <html:a rel="attr">fontnames</html:a> to <html:span class="val">ps</html:span> or <html:span class="val">gd</html:span>.
851 In the former case, known PostScript font names such as
852 <html:code>Times-Roman</html:code> will be used in the output.
853 In the latter case, the fontconfig font conventions
854 are used. Thus, <html:code>Times-Roman</html:code> would be treated as
855 <html:code>Nimbus Roman No9 L</html:code>. These last two options are useful
856 with SVG viewers that support these richer fontname spaces.
857 </html:p>
858 </xsd:documentation>
859 </xsd:annotation>
860 </xsd:attribute>
861
862 <xsd:attribute name="fontpath" type="xsd:string">
863 <xsd:annotation>
864 <xsd:documentation>
865 <html:p>
866 Directory list used by libgd to search for bitmap fonts if Graphviz
867 was not built with the fontconfig library.
868 If <html:a rel="attr">fontpath</html:a> is not set, the environment
869 variable <html:code>DOTFONTPATH</html:code> is checked.
870 If that is not set, <html:code>GDFONTPATH</html:code> is checked.
871 If not set, libgd uses its compiled-in font path.
872 Note that fontpath is an attribute of the root graph.
873 </html:p>
874 </xsd:documentation>
875 </xsd:annotation>
876 </xsd:attribute>
877
878 <xsd:attribute name="fontsize" type="xsd:decimal" default="14.0">
879 <xsd:annotation>
880 <xsd:documentation>
881 <html:p>
882 Font size, in <html:a rel="note">points</html:a>, used for text.
883 </html:p>
884 </xsd:documentation>
885 </xsd:annotation>
886 </xsd:attribute>
887
888 <xsd:attribute name="group" type="xsd:string" gv:layouts="dot">
889 <xsd:annotation>
890 <xsd:documentation>
891 <html:p>
892 If the end points of an edge belong to the same group, i.e., have the
893 same group attribute, parameters are set to avoid crossings and keep
894 the edges straight.
895 </html:p>
896 </xsd:documentation>
897 </xsd:annotation>
898 </xsd:attribute>
899
900 <xsd:attribute name="headURL" type="xsd:anyURI" gv:formats="svg map">
901 <xsd:annotation>
902 <xsd:documentation>
903 <html:p>
904 If <html:a rel="attr">headURL</html:a> is defined, it is
905 output as part of the head label of the edge.
906 Also, this value is used near the head node, overriding any
907 <html:a rel="attr">URL</html:a> value.
908 See <html:a rel="note">undirected</html:a>.
909 </html:p>
910 </xsd:documentation>
911 </xsd:annotation>
912 </xsd:attribute>
913
914 <xsd:attribute name="headclip" type="xsd:boolean" default="true">
915 <xsd:annotation>
916 <xsd:documentation>
917 <html:p>
918 If <html:span class="val">true</html:span>, the head of an edge is clipped to the boundary of the head node;
919 otherwise, the end of the edge goes to the center of the node, or the
920 center of a port, if applicable.
921 </html:p>
922 </xsd:documentation>
923 </xsd:annotation>
924 </xsd:attribute>
925
926 <xsd:attribute name="headhref" type="xsd:anyURI" gv:formats="svg map">
927 <xsd:annotation>
928 <xsd:documentation>
929 <html:p>
930 Synonym for <html:a rel="attr">headURL</html:a>.
931 </html:p>
932 </xsd:documentation>
933 </xsd:annotation>
934 </xsd:attribute>
935
936 <xsd:attribute name="headlabel" type="lblString">
937 <xsd:annotation>
938 <xsd:documentation>
939 <html:p>
940 Text label to be placed near head of edge.
941 See <html:a rel="note">undirected</html:a>.
942 </html:p>
943 </xsd:documentation>
944 </xsd:annotation>
945 </xsd:attribute>
946
947 <xsd:attribute name="headport" type="portPos" default="center">
948 <xsd:annotation>
949 <xsd:documentation>
950 <html:p>
951 Indicates where on the head node to attach the head of the edge.
952 In the default case, the edge is aimed towards the center of the node,
953 and then clipped at the node boundary.
954 See <html:a rel="note">undirected</html:a>.
955 </html:p>
956 </xsd:documentation>
957 </xsd:annotation>
958 </xsd:attribute>
959
960 <xsd:attribute name="headtarget" type="escString" gv:formats="svg map">
961 <xsd:annotation>
962 <xsd:documentation>
963 <html:p>
964 If the edge has a <html:a rel="attr">headURL</html:a>,
965 this attribute determines which window of the
966 browser is used
967 for the URL. Setting it to "_graphviz" will open a new window if it
968 doesn't already exist, or reuse it if it does.
969 If undefined, the value of the <html:a rel="attr">target</html:a> is used.
970 </html:p>
971 </xsd:documentation>
972 </xsd:annotation>
973 </xsd:attribute>
974
975 <xsd:attribute name="headtooltip" type="escString" gv:formats="svg cmap">
976 <xsd:annotation>
977 <xsd:documentation>
978 <html:p>
979 Tooltip annotation attached to the head of an edge. This is used only
980 if the edge has a <html:a rel="attr">headURL</html:a> attribute.
981 </html:p>
982 </xsd:documentation>
983 </xsd:annotation>
984 </xsd:attribute>
985
986 <xsd:attribute name="height" type="xsd:decimal" default="0.5">
987 <xsd:annotation>
988 <xsd:documentation>
989 <html:p>
990 Height of node, in inches. This is taken as the initial, minimum height
991 of the node. If <html:a rel="attr">fixedsize</html:a> is true, this
992 will be the final height of the node. Otherwise, if the node label
993 requires more height to fit, the node's height will be increased to
994 contain the label. Note also that, if the output format is dot, the
995 value given to <html:a rel="attr">height</html:a> will be the final value.
996 </html:p>
997 </xsd:documentation>
998 </xsd:annotation>
999 </xsd:attribute>
1000
1001 <xsd:attribute name="href" type="xsd:anyURI" gv:formats="svg ps ps2 map">
1002 <xsd:annotation>
1003 <xsd:documentation>
1004 <html:p>
1005 Synonym for <html:a rel="attr">URL</html:a>.
1006 </html:p>
1007 </xsd:documentation>
1008 </xsd:annotation>
1009 </xsd:attribute>
1010
1011 <xsd:attribute name="image" type="xsd:string">
1012 <xsd:annotation>
1013 <xsd:documentation>
1014 <html:p>
1015 Gives the name of a file containing an image to be displayed inside
1016 a node. The image file must be in one of the recognized formats,
1017 typically JPEG, PNG, GIF or Postscript, and be able to be converted
1018 into the desired output format.
1019 </html:p>
1020 <html:p>
1021 Unlike with the <html:a rel="attr">shapefile</html:a> attribute,
1022 the image is treated as node
1023 content rather than the entire node. In particular, an image can
1024 be contained in a node of any shape, not just a rectangle.
1025 </html:p>
1026 </xsd:documentation>
1027 </xsd:annotation>
1028 </xsd:attribute>
1029
1030 <xsd:attribute name="imagescale" type="xsd:string" default="false">
1031 <xsd:annotation>
1032 <xsd:documentation>
1033 <html:p>
1034 Attribute controlling how an image fills its
1035 containing node. In general, the image is given its natural size,
1036 (cf. <html:a rel="attr">dpi</html:a>),
1037 and the node size is made large enough to contain its image, its
1038 label, its margin, and its peripheries.
1039 Its width and height will also be at least as large as its
1040 minimum <html:a rel="attr">width</html:a> and <html:a rel="attr">height</html:a>.
1041 If, however, <html:code>fixedsize=true</html:code>,
1042 the width and height attributes specify the exact size of the node.
1043 </html:p>
1044 <html:p>
1045 During rendering, in the default case (<html:code>imagescale=false</html:code>),
1046 the image retains its natural size.
1047 If <html:span class="val">true</html:span>,
1048 the image is uniformly scaled (i.e., its aspect ratio is
1049 preserved) to fit inside the node.
1050 At least one dimension of the image will be as large as possible
1051 given the size of the node.
1052 When <html:span class="val">width</html:span>,
1053 the width of the image is scaled to fill the node width.
1054 The corresponding property holds when <html:tt>imagescale=height</html:tt>.
1055 When <html:span class="val">both</html:span>,
1056 both the height and the width are scaled separately to fill the node.
1057 </html:p>
1058 <html:p>
1059 In all cases, if a dimension of the image is larger than the
1060 corresponding dimension of the node, that dimension of the
1061 image is scaled down to fit the node. As with the case of
1062 expansion, if <html:code>imagescale=true</html:code>, width and height are
1063 scaled uniformly.
1064 </html:p>
1065 </xsd:documentation>
1066 </xsd:annotation>
1067 </xsd:attribute>
1068
1069 <xsd:attribute name="label" type="lblString">
1070 <xsd:annotation>
1071 <xsd:documentation>
1072 <html:p>
1073 Text label attached to objects.
1074 If a node's <html:a rel="attr">shape</html:a> is record, then the label can
1075 have a <html:a href="http://www.graphviz.org/doc/info/shapes.html#record">special format</html:a>
1076 which describes the record layout.
1077 </html:p>
1078 </xsd:documentation>
1079 </xsd:annotation>
1080 </xsd:attribute>
1081
1082 <xsd:attribute name="labelURL" type="xsd:anyURI">
1083 <xsd:annotation>
1084 <xsd:documentation>
1085 <html:p>
1086 If <html:a rel="attr">labelURL</html:a> is defined, this is the link used for the label
1087 of an edge. This value overrides any <html:a rel="attr">URL</html:a>
1088 defined for the edge.
1089 </html:p>
1090 </xsd:documentation>
1091 </xsd:annotation>
1092 </xsd:attribute>
1093
1094 <xsd:attribute name="labelangle" type="xsd:decimal">
1095 <xsd:annotation>
1096 <xsd:documentation>
1097 <html:p>
1098 This, along with <html:a rel="attr">labeldistance</html:a>, determine
1099 where the
1100 headlabel (taillabel) are placed with respect to the head (tail)
1101 in polar coordinates. The origin in the coordinate system is
1102 the point where the edge touches the node. The ray of 0 degrees
1103 goes from the origin back along the edge, parallel to the edge
1104 at the origin.
1105 </html:p>
1106 <html:p>
1107 The angle, in degrees, specifies the rotation from the 0 degree ray,
1108 with positive angles moving counterclockwise and negative angles
1109 moving clockwise.
1110 </html:p>
1111 </xsd:documentation>
1112 </xsd:annotation>
1113 </xsd:attribute>
1114
1115 <xsd:attribute name="labeldistance" type="xsd:decimal">
1116 <xsd:annotation>
1117 <xsd:documentation>
1118 <html:p>
1119 Multiplicative scaling factor adjusting the distance that
1120 the headlabel (taillabel) is from the head (tail) node.
1121 The default distance is 10 points. See <html:a rel="attr">labelangle</html:a>
1122 for more details.
1123 </html:p>
1124 </xsd:documentation>
1125 </xsd:annotation>
1126 </xsd:attribute>
1127
1128 <xsd:attribute name="labelfloat" type="xsd:boolean">
1129 <xsd:annotation>
1130 <xsd:documentation>
1131 <html:p>
1132 If true, allows edge labels to be less constrained in position.
1133 In particular, it may appear on top of other edges.
1134 </html:p>
1135 </xsd:documentation>
1136 </xsd:annotation>
1137 </xsd:attribute>
1138
1139 <xsd:attribute name="labelfontcolor" type="color">
1140 <xsd:annotation>
1141 <xsd:documentation>
1142 <html:p>
1143 Color used for headlabel and taillabel.
1144 If not set, defaults to edge's fontcolor.
1145 </html:p>
1146 </xsd:documentation>
1147 </xsd:annotation>
1148 </xsd:attribute>
1149
1150 <xsd:attribute name="labelfontname" type="xsd:string">
1151 <xsd:annotation>
1152 <xsd:documentation>
1153 <html:p>
1154 Font used for headlabel and taillabel.
1155 If not set, defaults to edge's fontname.
1156 </html:p>
1157 </xsd:documentation>
1158 </xsd:annotation>
1159 </xsd:attribute>
1160
1161 <xsd:attribute name="labelfontsize" type="xsd:decimal">
1162 <xsd:annotation>
1163 <xsd:documentation>
1164 <html:p>
1165 Font size, in <html:a rel="note">points</html:a>, used for headlabel and taillabel.
1166 If not set, defaults to edge's fontsize.
1167 </html:p>
1168 </xsd:documentation>
1169 </xsd:annotation>
1170 </xsd:attribute>
1171
1172 <xsd:attribute name="labelhref" type="xsd:anyURI">
1173 <xsd:annotation>
1174 <xsd:documentation>
1175 <html:p>
1176 Synonym for <html:a rel="attr">labelURL</html:a>.
1177 </html:p>
1178 </xsd:documentation>
1179 </xsd:annotation>
1180 </xsd:attribute>
1181
1182 <xsd:attribute name="labeljust" type="xsd:string">
1183 <xsd:annotation>
1184 <xsd:documentation>
1185 <html:p>
1186 Justification for cluster labels. If <html:span class="val">r</html:span>, the label
1187 is right-justified within bounding rectangle; if <html:span class="val">l</html:span>, left-justified;
1188 else the label is centered.
1189 Note that a subgraph inherits attributes from its parent. Thus, if
1190 the root graph sets <html:a rel="attr">labeljust</html:a> to <html:span class="val">l</html:span>, the subgraph inherits
1191 this value.
1192 </html:p>
1193 </xsd:documentation>
1194 </xsd:annotation>
1195 </xsd:attribute>
1196
1197 <xsd:attribute name="labelloc" type="xsd:string">
1198 <xsd:annotation>
1199 <xsd:documentation>
1200 <html:p>
1201 Top/bottom placement of graph and cluster labels.
1202 If the attribute is <html:span class="val">t</html:span>, place label at the top;
1203 if the attribute is <html:span class="val">b</html:span>, place label at the bottom.
1204 By default, root
1205 graph labels go on the bottom and cluster labels go on the top.
1206 Note that a subgraph inherits attributes from its parent. Thus, if
1207 the root graph sets <html:a rel="attr">labelloc</html:a> to <html:span class="val">b</html:span>, the subgraph inherits
1208 this value.
1209 </html:p>
1210 </xsd:documentation>
1211 </xsd:annotation>
1212 </xsd:attribute>
1213
1214 <xsd:attribute name="labeltarget" type="escString">
1215 <xsd:annotation>
1216 <xsd:documentation>
1217 <html:p>
1218 If the edge has a <html:a rel="attr">URL</html:a> or <html:a rel="attr">labelURL</html:a>
1219 attribute, this attribute determines which window of the
1220 browser is used
1221 for the URL attached to the label.
1222 Setting it to "_graphviz" will open a new window if it
1223 doesn't already exist, or reuse it if it does.
1224 If undefined, the value of the <html:a rel="attr">target</html:a> is used.
1225 </html:p>
1226 </xsd:documentation>
1227 </xsd:annotation>
1228 </xsd:attribute>
1229
1230 <xsd:attribute name="labeltooltip" type="escString">
1231 <xsd:annotation>
1232 <xsd:documentation>
1233 <html:p>
1234 Tooltip annotation attached to label of an edge.
1235 This is used only if the edge has a <html:a rel="attr">URL</html:a>
1236 or <html:a rel="attr">labelURL</html:a> attribute.
1237 </html:p>
1238 </xsd:documentation>
1239 </xsd:annotation>
1240 </xsd:attribute>
1241
1242 <xsd:attribute name="landscape" type="xsd:boolean">
1243 <xsd:annotation>
1244 <xsd:documentation>
1245 <html:p>
1246 If true, the graph is rendered in landscape mode. Synonymous with
1247 <html:code><html:a rel="attr">rotate</html:a>=90</html:code> or
1248 <html:code><html:a rel="attr">orientation</html:a>=landscape</html:code>.
1249 </html:p>
1250 </xsd:documentation>
1251 </xsd:annotation>
1252 </xsd:attribute>
1253
1254 <xsd:attribute name="layer" type="layerRange">
1255 <xsd:annotation>
1256 <xsd:documentation>
1257 <html:p>
1258 Specifies layers in which the node or edge is present.
1259 </html:p>
1260 </xsd:documentation>
1261 </xsd:annotation>
1262 </xsd:attribute>
1263
1264 <xsd:attribute name="layers" type="layerList">
1265 <xsd:annotation>
1266 <xsd:documentation>
1267 <html:p>
1268 Specifies a linearly ordered list of layer names attached to the graph
1269 The graph is then output in separate layers. Only those components
1270 belonging to the current output layer appear. For more information,
1271 see the page <html:a href="http://www.graphviz.org/Documentation/html/layers/">How to use drawing layers (overlays)</html:a>.
1272 </html:p>
1273 </xsd:documentation>
1274 </xsd:annotation>
1275 </xsd:attribute>
1276
1277 <xsd:attribute name="layersep" type="xsd:string">
1278 <xsd:annotation>
1279 <xsd:documentation>
1280 <html:p>
1281 Specifies the separator characters used to split the
1282 <html:a rel="attr">layers </html:a>attribute into a list of layer names.
1283 </html:p>
1284 </xsd:documentation>
1285 </xsd:annotation>
1286 </xsd:attribute>
1287
1288 <xsd:attribute name="layout" type="xsd:string">
1289 <xsd:annotation>
1290 <xsd:documentation>
1291 <html:p>
1292 Specifies the name of the layout algorithm to use, such as <html:span class="val">dot</html:span>
1293 or <html:span class="val">neato</html:span>. Normally, graphs should be kept independent of a type of
1294 layout. In some cases, however, it can be convenient to embed the type
1295 of layout desired within the graph. For example, a graph containing
1296 position information from a layout might want to record what the
1297 associated layout algorithm was.
1298 </html:p>
1299 <html:p>
1300 This attribute takes precedence over
1301 the <html:a href="http://www.graphviz.org/doc/info/command.html#minusK">-K flag</html:a>
1302 or the actual command name used.
1303 </html:p>
1304 </xsd:documentation>
1305 </xsd:annotation>
1306 </xsd:attribute>
1307
1308 <xsd:attribute name="len" type="xsd:decimal">
1309 <xsd:annotation>
1310 <xsd:documentation>
1311 <html:p>
1312 Preferred edge length, in inches.
1313 </html:p>
1314 </xsd:documentation>
1315 </xsd:annotation>
1316 </xsd:attribute>
1317
1318 <xsd:attribute name="levelsgap" type="xsd:decimal">
1319 <xsd:annotation>
1320 <xsd:documentation>
1321 <html:p>
1322 Specifies strictness of level constraints in neato
1323 when <html:code><html:a rel="attr">mode</html:a>="ipsep" or "hier"</html:code>.
1324 Larger positive values mean stricter constraints, which demand more
1325 separation between levels. On the other hand, negative values will relax
1326 the constraints by allowing some overlap between the levels.
1327 </html:p>
1328 </xsd:documentation>
1329 </xsd:annotation>
1330 </xsd:attribute>
1331
1332 <xsd:attribute name="lhead" type="xsd:string">
1333 <xsd:annotation>
1334 <xsd:documentation>
1335 <html:p>
1336 Logical head of an edge. When <html:a rel="attr">compound</html:a> is true,
1337 if <html:a rel="attr">lhead</html:a> is defined and is the name of a cluster containing
1338 the real head,
1339 the edge is clipped to the boundary of the cluster.
1340 See <html:a rel="note">undirected</html:a>.
1341 </html:p>
1342 </xsd:documentation>
1343 </xsd:annotation>
1344 </xsd:attribute>
1345
1346 <xsd:attribute name="lp" type="point">
1347 <xsd:annotation>
1348 <xsd:documentation>
1349 <html:p>
1350 Label position, in <html:a rel="note">points</html:a>.
1351 The position indicates the center of the label.
1352 </html:p>
1353 </xsd:documentation>
1354 </xsd:annotation>
1355 </xsd:attribute>
1356
1357 <xsd:attribute name="ltail" type="xsd:string">
1358 <xsd:annotation>
1359 <xsd:documentation>
1360 <html:p>
1361 Logical tail of an edge. When <html:a rel="attr">compound</html:a> is true,
1362 if <html:a rel="attr">ltail</html:a> is defined and is the name of a cluster
1363 containing the real tail,
1364 the edge is clipped to the boundary of the cluster.
1365 See <html:a rel="note">undirected</html:a>.
1366 </html:p>
1367 </xsd:documentation>
1368 </xsd:annotation>
1369 </xsd:attribute>
1370
1371 <xsd:attribute name="margin" type="pointf">
1372 <xsd:annotation>
1373 <xsd:documentation>
1374 <html:p>
1375 For graphs, this sets x and y margins of canvas, in inches. If the margin
1376 is a single double, both margins are set equal to the given value.
1377 </html:p>
1378 <html:p>
1379 Note that the margin is not part of the drawing but just empty space
1380 left around the drawing. It basically corresponds to a translation of
1381 drawing, as would be necessary to center a drawing on a page. Nothing
1382 is actually drawn in the margin. To actually extend the background of
1383 a drawing, see the <html:a rel="attr">pad</html:a> attribute.
1384 </html:p>
1385 <html:p>
1386 For nodes, this attribute specifies space left around the node's label.
1387 By default, the value is <html:code>0.11,0.055</html:code>.
1388 </html:p>
1389 </xsd:documentation>
1390 </xsd:annotation>
1391 </xsd:attribute>
1392
1393 <xsd:attribute name="maxiter" type="xsd:integer">
1394 <xsd:annotation>
1395 <xsd:documentation>
1396 <html:p>
1397 Sets the number of iterations used.
1398 </html:p>
1399 </xsd:documentation>
1400 </xsd:annotation>
1401 </xsd:attribute>
1402
1403 <xsd:attribute name="mclimit" type="xsd:decimal">
1404 <xsd:annotation>
1405 <xsd:documentation>
1406 <html:p>
1407 Multiplicative scale factor used to alter the MinQuit (default = 8)
1408 and MaxIter (default = 24) parameters used during crossing
1409 minimization. These correspond to the
1410 number of tries without improvement before quitting and the
1411 maximum number of iterations in each pass.
1412 </html:p>
1413 </xsd:documentation>
1414 </xsd:annotation>
1415 </xsd:attribute>
1416
1417 <xsd:attribute name="mindist" type="xsd:decimal">
1418 <xsd:annotation>
1419 <xsd:documentation>
1420 <html:p>
1421 Specifies the minimum separation between all nodes.
1422 </html:p>
1423 </xsd:documentation>
1424 </xsd:annotation>
1425 </xsd:attribute>
1426
1427 <xsd:attribute name="minlen" type="xsd:integer">
1428 <xsd:annotation>
1429 <xsd:documentation>
1430 <html:p>
1431 Minimum edge length (rank difference between head and tail).
1432 </html:p>
1433 </xsd:documentation>
1434 </xsd:annotation>
1435 </xsd:attribute>
1436
1437 <xsd:attribute name="mode" type="xsd:string">
1438 <xsd:annotation>
1439 <xsd:documentation>
1440 <html:p>
1441 Technique for optimizing the layout. If <html:a rel="attr">mode</html:a> is <html:span class="val">major</html:span>,
1442 neato uses stress majorization. If <html:a rel="attr">mode</html:a> is <html:span class="val">KK</html:span>,
1443 neato uses a version of the gradient descent method. The only advantage
1444 to the latter technique is that it is sometimes appreciably faster for
1445 small (number of nodes &lt; 100) graphs. A significant disadvantage is that
1446 it may cycle.
1447 </html:p>
1448 <html:p>
1449 There are two new, experimental modes in neato, <html:span class="val">hier</html:span>, which adds a top-down
1450 directionality similar to the layout used in dot, and <html:span class="val">ipsep</html:span>, which
1451 allows the graph to specify minimum vertical and horizontal distances
1452 between nodes. (See the <html:a rel="attr">sep</html:a> attribute.)
1453 </html:p>
1454 </xsd:documentation>
1455 </xsd:annotation>
1456 </xsd:attribute>
1457
1458 <xsd:attribute name="model" type="xsd:string">
1459 <xsd:annotation>
1460 <xsd:documentation>
1461 <html:p>
1462 This value specifies how the distance matrix is computed for the input
1463 graph. The distance matrix specifies the ideal distance between every
1464 pair of nodes. neato attemps to find a layout which best achieves
1465 these distances. By default, it uses the length of the shortest path,
1466 where the length of each edge is given by its <html:a rel="attr">len</html:a>
1467 attribute. If <html:a rel="attr">model</html:a> is <html:span class="val">circuit</html:span>, neato uses the
1468 circuit resistance
1469 model to compute the distances. This tends to emphasize clusters. If
1470 <html:a rel="attr">model</html:a> is <html:span class="val">subset</html:span>, neato uses the subset model. This sets the
1471 edge length to be the number of nodes that are neighbors of exactly one
1472 of the end points, and then calculates the shortest paths. This helps
1473 to separate nodes with high degree.
1474 </html:p>
1475 </xsd:documentation>
1476 </xsd:annotation>
1477 </xsd:attribute>
1478
1479 <xsd:attribute name="mosek" type="xsd:boolean">
1480 <xsd:annotation>
1481 <xsd:documentation>
1482 <html:p>
1483 If Graphviz is built with MOSEK defined, mode=ipsep and mosek=true,
1484 the Mosek software (www.mosek.com) is use to solve the ipsep constraints.
1485 </html:p>
1486 </xsd:documentation>
1487 </xsd:annotation>
1488 </xsd:attribute>
1489
1490 <xsd:attribute name="nodesep" type="xsd:decimal">
1491 <xsd:annotation>
1492 <xsd:documentation>
1493 <html:p>
1494 Minimum space between two adjacent nodes in the same rank, in inches.
1495 </html:p>
1496 </xsd:documentation>
1497 </xsd:annotation>
1498 </xsd:attribute>
1499
1500 <xsd:attribute name="nojustify" type="xsd:boolean">
1501 <xsd:annotation>
1502 <xsd:documentation>
1503 <html:p>
1504 By default, the justification of multi-line labels is done within the
1505 largest context that makes sense. Thus, in the label of a polygonal
1506 node, a left-justified line will align with the left side of the node
1507 (shifted by the prescribed <html:a rel="attr">margin</html:a>).
1508 In record nodes, left-justified
1509 line will line up with the left side of the enclosing column of fields.
1510 If <html:a rel="attr">nojustify</html:a> is <html:span class="val">true</html:span>, multi-line labels will be justified
1511 in the context of itself. For example, if the attribute is set,
1512 the first label line is long, and the second is shorter and left-justified,
1513 the second will align with the left-most character in the first line,
1514 regardless of how large the node might be.
1515 </html:p>
1516 </xsd:documentation>
1517 </xsd:annotation>
1518 </xsd:attribute>
1519
1520 <xsd:attribute name="normalize" type="xsd:boolean">
1521 <xsd:annotation>
1522 <xsd:documentation>
1523 <html:p>
1524 If set, normalize coordinates of final
1525 layout so that the first point is at the origin, and then rotate the
1526 layout so that the first edge is horizontal.
1527 </html:p>
1528 </xsd:documentation>
1529 </xsd:annotation>
1530 </xsd:attribute>
1531
1532 <xsd:attribute name="nslimit" type="xsd:decimal">
1533 <xsd:annotation>
1534 <xsd:documentation>
1535 <html:p>
1536 Used to set number of iterations in
1537 network simplex applications, used in
1538 computing node x coordinates.
1539 If defined, # iterations = <html:a rel="attr">nslimit</html:a> * # nodes;
1540 otherwise, # iterations = MAXINT.
1541 </html:p>
1542 </xsd:documentation>
1543 </xsd:annotation>
1544 </xsd:attribute>
1545
1546 <xsd:attribute name="nslimit1" type="xsd:decimal">
1547 <xsd:annotation>
1548 <xsd:documentation>
1549 <html:p>
1550 Used to set number of iterations in
1551 network simplex applications, used for ranking nodes.
1552 If defined, # iterations = <html:a rel="attr">nslimit1</html:a> * # nodes;
1553 otherwise, # iterations = MAXINT.
1554 </html:p>
1555 </xsd:documentation>
1556 </xsd:annotation>
1557 </xsd:attribute>
1558
1559 <xsd:attribute name="ordering" type="xsd:string">
1560 <xsd:annotation>
1561 <xsd:documentation>
1562 <html:p>
1563 If "out" for a graph G, and n is a node in G, then edges n-&gt;* appear
1564 left-to-right in the same order in which they are defined.
1565 If "in", the edges *-&gt;n appear
1566 left-to-right in the same order in which they are defined for all
1567 nodes n.
1568 </html:p>
1569 </xsd:documentation>
1570 </xsd:annotation>
1571 </xsd:attribute>
1572
1573 <!--
1574 <xsd:attribute name="orientation" type="xsd:decimal">
1575 <xsd:annotation>
1576 <xsd:documentation>
1577 Angle, in degrees, used to rotate node shapes.
1578 </xsd:documentation>
1579 </xsd:annotation>
1580 </xsd:attribute>
1581
1582 <xsd:attribute name="orientation" type="xsd:string">
1583 <xsd:annotation>
1584 <xsd:documentation>
1585 If "[lL]*", set graph orientation to landscape
1586 Used only if <html:a rel="attr">rotate</html:a> is not defined.
1587 </xsd:documentation>
1588 </xsd:annotation>
1589 </xsd:attribute>
1590 -->
1591
1592 <xsd:attribute name="outputorder" type="outputMode">
1593 <xsd:annotation>
1594 <xsd:documentation>
1595 <html:p>
1596 Specify order in which nodes and edges are drawn.
1597 </html:p>
1598 </xsd:documentation>
1599 </xsd:annotation>
1600 </xsd:attribute>
1601
1602 <xsd:attribute name="overlap" type="xsd:string">
1603 <xsd:annotation>
1604 <xsd:documentation>
1605 <html:p>
1606 Determines if and how node overlaps should be removed. Nodes are first
1607 enlarged using the <html:a rel="attr">sep</html:a> attribute.
1608 If <html:span class="val">true</html:span>, overlaps are retained.
1609 If the value is <html:span class="val">scale</html:span>, overlaps are removed by uniformly scaling in x and y.
1610 If the value converts to <html:span class="val">false</html:span>, node overlaps are removed by a
1611 Voronoi-based technique.
1612 If the value is <html:span class="val">scalexy</html:span>, x and y are separately
1613 scaled to remove overlaps.
1614 If the value is <html:span class="val">orthoxy</html:span> or <html:span class="val">orthoyx</html:span>, overlaps
1615 are moved by optimizing two constraint problems, one for the x axis and
1616 one for the y. The suffix indicates which axis is processed first.
1617 If the value is <html:span class="val">ortho</html:span>, the technique is similar to <html:span class="val">orthoxy</html:span> except a
1618 heuristic is used to reduce the bias between the two passes.
1619 If the value is <html:span class="val">ortho_yx</html:span>, the technique is the same as <html:span class="val">ortho</html:span>, except
1620 the roles of x and y are reversed.
1621 The values <html:span class="val">portho</html:span>, <html:span class="val">porthoxy</html:span>, <html:span class="val">porthoxy</html:span>, and <html:span class="val">portho_yx</html:span> are similar
1622 to the previous four, except only pseudo-orthogonal ordering is
1623 enforced.
1624 </html:p>
1625 <html:p>
1626 If the value is <html:span class="val">compress</html:span>, the layout will be scaled down as much as
1627 possible without introducing any overlaps, obviously assuming there are
1628 none to begin with.
1629 </html:p>
1630 <html:p>
1631 If the value is <html:span class="val">ipsep</html:span>, and the layout is done by neato with
1632 <html:a rel="attr">mode</html:a>="ipsep", the overlap removal constraints are
1633 incorporated into the layout algorithm itself.
1634 N.B. At present, this only supports one level of clustering.
1635 </html:p>
1636 <html:p>
1637 If the value is <html:span class="val">vpsc</html:span>, overlap removal is similarly to <html:span class="val">ortho</html:span>, except
1638 quadratic optimization is used to minimize node displacement.
1639 N.B. At present, this mode only works when <html:a rel="attr">mode</html:a>="ipsep".
1640 </html:p>
1641 <html:p>
1642 Except for fdp, the layouts assume <html:code>overlap="true"</html:code> as the default.
1643 Fdp first uses a number of passes using built-in, force-directed technique
1644 to remove overlaps. Thus, fdp accepts <html:a rel="attr">overlap</html:a> with an integer
1645 prefix followed by a colon, specifying the number of tries. If there is
1646 no prefix, no initial tries will be performed. If there is nothing following
1647 a colon, none of the above methods will be attempted. By default, fdp
1648 uses <html:code>overlap="9:portho"</html:code>. Note that <html:code>overlap="true"</html:code>,
1649 <html:code>overlap="0:true"</html:code> and <html:code>overlap="0:"</html:code> all turn off all overlap
1650 removal.
1651 </html:p>
1652 <html:p>
1653 Except for the Voronoi method, all of these transforms preserve the
1654 orthogonal ordering of the original layout. That is, if the x coordinates
1655 of two nodes are originally the same, they will remain the same, and if
1656 the x coordinate of one node is originally less than the x coordinate of
1657 another, this relation will still hold in the transformed layout. The
1658 similar properties hold for the y coordinates.
1659 This is not quite true for the "porth*" cases. For these, orthogonal
1660 ordering is only preserved among nodes related by an edge.
1661 </html:p>
1662 <html:p>
1663 <html:b>NOTE</html:b>The methods <html:span class="val">orthoxy</html:span> and <html:span class="val">orthoyx</html:span> are still evolving. The semantics of these may change, or these methods may disappear altogether.
1664 </html:p>
1665 </xsd:documentation>
1666 </xsd:annotation>
1667 </xsd:attribute>
1668
1669 <xsd:attribute name="pack" type="xsd:string">
1670 <xsd:annotation>
1671 <xsd:documentation>
1672 <html:p>
1673 This is true if the value of pack is <html:span class="val">true</html:span> (case-insensitive) or a
1674 non-negative integer. If true, each connected component of the graph is
1675 laid out separately, and then the graphs are packed tightly.
1676 If pack has an integral value, this is used as the size,
1677 in <html:a href="#points">points</html:a>, of
1678 a margin around each part; otherwise, a default margin of 8 is used.
1679 If pack is interpreted as false, the entire graph is laid out together.
1680 The granularity and method of packing is influenced by the
1681 <html:a rel="attr">packmode</html:a> attribute.
1682 </html:p>
1683 <html:p>
1684 For layouts which always do packing, such a twopi, the <html:a rel="attr">pack</html:a>
1685 attribute is just used to set the margin.
1686 </html:p>
1687 </xsd:documentation>
1688 </xsd:annotation>
1689 </xsd:attribute>
1690
1691 <xsd:attribute name="packmode" type="packMode">
1692 <xsd:annotation>
1693 <xsd:documentation>
1694 <html:p>
1695 This indicates the granularity and method used for packing
1696 (cf. <html:a rel="type">packMode</html:a>). Note that defining
1697 <html:a rel="attr">packmode</html:a> will automatically turn on packing as though one had
1698 set <html:code>pack=true</html:code>.
1699 </html:p>
1700 </xsd:documentation>
1701 </xsd:annotation>
1702 </xsd:attribute>
1703
1704 <xsd:attribute name="pad" type="pointf">
1705 <xsd:annotation>
1706 <xsd:documentation>
1707 <html:p>
1708 The pad attribute specifies how much, in inches, to extend the
1709 drawing area around the minimal area needed to draw the graph.
1710 If the pad is a single double, both the x and y pad values are set
1711 equal to the given value. This area is part of the
1712 drawing and will be filled with the background color, if appropriate.
1713 </html:p>
1714 <html:p>
1715 Normally, a small pad is used for aesthetic reasons, especially when
1716 a background color is used, to avoid having nodes and edges abutting
1717 the boundary of the drawn region.
1718 </html:p>
1719 </xsd:documentation>
1720 </xsd:annotation>
1721 </xsd:attribute>
1722
1723 <xsd:attribute name="page" type="pointf">
1724 <xsd:annotation>
1725 <xsd:documentation>
1726 <html:p>
1727 Width and height of output pages, in inches. If this is set and is
1728 smaller than the size of the layout, a rectangular array of pages of
1729 the specified page size is overlaid on the layout, with origins
1730 aligned in the lower-left corner, thereby partitioning the layout
1731 into pages. The pages are then produced one at a time, in
1732 <html:a rel="attr">pagedir</html:a> order.
1733 </html:p>
1734 <html:p>
1735 At present, this only works for PostScript output. For other types of
1736 output, one should use another tool to split the output into multiple
1737 output files. Or use the <html:a rel="attr">viewport</html:a> to generate
1738 multiple files.
1739 </html:p>
1740 </xsd:documentation>
1741 </xsd:annotation>
1742 </xsd:attribute>
1743
1744 <xsd:attribute name="pagedir" type="pagedir">
1745 <xsd:annotation>
1746 <xsd:documentation>
1747 <html:p>
1748 If the <html:a rel="attr">page</html:a> attribute is set and applicable,
1749 this attribute specifies the order in which the pages are emitted.
1750 This is limited to one of the 8 row or column major orders.
1751 </html:p>
1752 </xsd:documentation>
1753 </xsd:annotation>
1754 </xsd:attribute>
1755
1756 <xsd:attribute name="pencolor" type="color">
1757 <xsd:annotation>
1758 <xsd:documentation>
1759 <html:p>
1760 Color used to draw the bounding box around a cluster.
1761 If <html:a rel="attr">pencolor</html:a> is not defined, <html:a rel="attr">color</html:a> is
1762 used. If this is not defined, <html:a rel="attr">bgcolor</html:a> is used.
1763 If this is not defined, the default is used.
1764 </html:p>
1765 <html:p>
1766 Note that a cluster inherits the root graph's attributes if defined.
1767 Thus, if the root graph has defined a <html:a rel="attr">pencolor</html:a>, this will override a
1768 <html:a rel="attr">color</html:a> or <html:a rel="attr">bgcolor</html:a> attribute set for the cluster.
1769 </html:p>
1770 </xsd:documentation>
1771 </xsd:annotation>
1772 </xsd:attribute>
1773
1774 <xsd:attribute name="peripheries" type="xsd:integer">
1775 <xsd:annotation>
1776 <xsd:documentation>
1777 <html:p>
1778 Set number of peripheries used in polygonal shapes and cluster
1779 boundaries. Note that
1780 <html:a href="http://www.graphviz.org/doc/info/shapes.html#epsf">user-defined shapes</html:a> are treated as a
1781 form of box shape, so the default
1782 peripheries value is 1 and the user-defined shape will be drawn in
1783 a bounding rectangle. Setting <html:code>peripheries=0</html:code> will turn this off.
1784 Also, 1 is the maximum peripheries value for clusters.
1785 </html:p>
1786 </xsd:documentation>
1787 </xsd:annotation>
1788 </xsd:attribute>
1789
1790 <xsd:attribute name="pin" type="xsd:boolean">
1791 <xsd:annotation>
1792 <xsd:documentation>
1793 <html:p>
1794 If true and the node has a pos attribute on input, neato prevents the
1795 node from moving from the input position. This property can also be specified
1796 in the pos attribute itself (cf. the <html:a rel="attr">point</html:a> type).
1797 </html:p>
1798 </xsd:documentation>
1799 </xsd:annotation>
1800 </xsd:attribute>
1801
1802 <xsd:attribute name="pos" type="splineType">
1803 <xsd:annotation>
1804 <xsd:documentation>
1805 <html:p>
1806 Position of node, or spline control points.
1807 For nodes, the position indicates the center of the node.
1808 On output, the coordinates are in <html:a href="#points">points</html:a>.
1809 </html:p>
1810 <html:p>
1811 In neato and fdp, pos can be used to set the initial position of a node.
1812 By default, the coordinates are assumed to be in inches. However, the
1813 <html:a href="http://www.graphviz.org/doc/info/command.html#d:s">-s</html:a> command line flag can be used to specify
1814 different units.
1815 </html:p>
1816 <html:p>
1817 When the <html:a href="http://www.graphviz.org/doc/info/command.html#d:n">-n</html:a> command line flag is used with
1818 neato, it is assumed the positions have been set by one of the layout
1819 programs, and are therefore in points. Thus, <html:code>neato -n</html:code> can accept
1820 input correctly without requiring a <html:code>-s</html:code> flag and, in fact,
1821 ignores any such flag.
1822 </html:p>
1823 </xsd:documentation>
1824 </xsd:annotation>
1825 </xsd:attribute>
1826
1827 <xsd:attribute name="quantum" type="xsd:decimal">
1828 <xsd:annotation>
1829 <xsd:documentation>
1830 <html:p>
1831 If <html:a rel="attr">quantum</html:a> &gt; 0.0, node label dimensions
1832 will be rounded to integral multiples of the quantum.
1833 </html:p>
1834 </xsd:documentation>
1835 </xsd:annotation>
1836 </xsd:attribute>
1837
1838 <xsd:attribute name="rank" type="rankType">
1839 <xsd:annotation>
1840 <xsd:documentation>
1841 <html:p>
1842 Rank constraints on the nodes in a subgraph.
1843 If <html:span class="val">same</html:span>, all nodes are placed on the same rank.
1844 If <html:span class="val">min</html:span>, all nodes are placed on the minimum rank.
1845 If <html:span class="val">source</html:span>, all nodes are placed on the minimum rank, and
1846 the only nodes on the minimum rank belong to some subgraph whose
1847 rank attribute is "source" or "min".
1848 Analogous criteria hold for <html:a rel="attr">rank</html:a>=<html:span class="val">max</html:span> and <html:a rel="attr">rank</html:a>=<html:span class="val">sink</html:span>.
1849 (Note: the
1850 minimum rank is topmost or leftmost, and the maximum rank is bottommost
1851 or rightmost.)
1852 </html:p>
1853 </xsd:documentation>
1854 </xsd:annotation>
1855 </xsd:attribute>
1856
1857 <xsd:attribute name="rankdir" type="rankdir">
1858 <xsd:annotation>
1859 <xsd:documentation>
1860 <html:p>
1861 Sets direction of graph layout. For example, if <html:a rel="attr">rankdir</html:a>="LR",
1862 and barring cycles, an edge <html:code>T -&gt; H;</html:code> will go
1863 from left to right. By default, graphs are laid out from top to bottom.
1864 </html:p>
1865 </xsd:documentation>
1866 </xsd:annotation>
1867 </xsd:attribute>
1868
1869 <xsd:attribute name="ranksep" type="xsd:decimal">
1870 <xsd:annotation>
1871 <xsd:documentation>
1872 <html:p>
1873 In dot, this gives the desired rank separation, in inches. This is
1874 the minimum vertical distance between the bottom of the nodes in one
1875 rank and the tops of nodes in the next. If the value
1876 contains "equally", the centers of all ranks are spaced equally apart.
1877 Note that both
1878 settings are possible, e.g., ranksep = "1.2 equally".
1879 In twopi, specifies radial separation of concentric circles.
1880 </html:p>
1881 </xsd:documentation>
1882 </xsd:annotation>
1883 </xsd:attribute>
1884
1885 <xsd:attribute name="ratio" type="xsd:string">
1886 <xsd:annotation>
1887 <xsd:documentation>
1888 <html:p>
1889 Sets the aspect ratio (drawing height/drawing width) for the drawing.
1890 Note that this is adjusted before
1891 the <html:a rel="attr">size</html:a> attribute constraints are enforced.
1892 </html:p>
1893 <html:p>
1894 If <html:a rel="attr">ratio</html:a> is numeric, it is taken as the desired aspect ratio.
1895 Then, if the actual aspect ratio is less than the desired ratio,
1896 the drawing height is scaled up to achieve the
1897 desired ratio; if the actual ratio is greater than that desired ratio,
1898 the drawing width is scaled up.
1899 </html:p>
1900 <html:p>
1901 If <html:a rel="attr">ratio</html:a> = <html:span class="val">fill</html:span> and the <html:a rel="attr">size</html:a>
1902 attribute is set, node positions are scaled, separately in both x
1903 and y, so that the final drawing exactly fills the specified size.
1904 </html:p>
1905 <html:p>
1906 If <html:a rel="attr">ratio</html:a> = <html:span class="val">compress</html:span> and the <html:a rel="attr">size</html:a>
1907 attribute is set, dot attempts to compress the initial layout to fit
1908 in the given size. This achieves a tighter packing of nodes but
1909 reduces the balance and symmetry. This feature only works in dot.
1910 </html:p>
1911 <html:p>
1912 If <html:a rel="attr">ratio</html:a> = <html:span class="val">expand</html:span>, the <html:a rel="attr">size</html:a>
1913 attribute is set, and both the width and the height of the graph are
1914 less than the value in <html:a rel="attr">size</html:a>, node positions are scaled
1915 uniformly until at least
1916 one dimension fits <html:a rel="attr">size</html:a> exactly.
1917 Note that this is distinct from using <html:a rel="attr">size</html:a> as the
1918 desired size, as here the drawing is expanded before edges are generated and
1919 all node and text sizes remain unchanged.
1920 </html:p>
1921 <html:p>
1922 If <html:a rel="attr">ratio</html:a> = <html:span class="val">auto</html:span>, the <html:a rel="attr">page</html:a>
1923 attribute is set and the graph cannot be drawn on a single page,
1924 then <html:a rel="attr">size</html:a> is set to an ``ideal'' value.
1925 In particular, the size in a given dimension will be the smallest integral
1926 multiple of the page size in that dimension which is at least half the
1927 current size. The two dimensions are then scaled independently to the
1928 new size. This feature only works in dot.
1929 </html:p>
1930 </xsd:documentation>
1931 </xsd:annotation>
1932 </xsd:attribute>
1933
1934 <xsd:attribute name="rects" type="rect">
1935 <xsd:annotation>
1936 <xsd:documentation>
1937 <html:p>
1938 Rectangles for fields of records, in <html:a rel="note">points</html:a>.
1939 </html:p>
1940 </xsd:documentation>
1941 </xsd:annotation>
1942 </xsd:attribute>
1943
1944 <xsd:attribute name="regular" type="xsd:boolean">
1945 <xsd:annotation>
1946 <xsd:documentation>
1947 <html:p>
1948 If true, force polygon to be regular.
1949 </html:p>
1950 </xsd:documentation>
1951 </xsd:annotation>
1952 </xsd:attribute>
1953
1954 <xsd:attribute name="remincross" type="xsd:boolean">
1955 <xsd:annotation>
1956 <xsd:documentation>
1957 <html:p>
1958 If true and there are multiple clusters, run cross
1959 minimization a second time.
1960 </html:p>
1961 </xsd:documentation>
1962 </xsd:annotation>
1963 </xsd:attribute>
1964
1965 <xsd:attribute name="resolution" type="xsd:decimal">
1966 <xsd:annotation>
1967 <xsd:documentation>
1968 <html:p>
1969 This is a synonym for the <html:a rel="attr">dpi</html:a> attribute.
1970 </html:p>
1971 </xsd:documentation>
1972 </xsd:annotation>
1973 </xsd:attribute>
1974
1975 <xsd:attribute name="root" type="xsd:string">
1976 <xsd:annotation>
1977 <xsd:documentation>
1978 <html:p>
1979 This specifies nodes to be used as the center of the
1980 layout and the root of the generated spanning tree. As a graph attribute,
1981 this gives the name of the node. As a node attribute (circo only), it
1982 specifies that the node should be used as a central node. In twopi,
1983 this will actually be the central node. In circo, the block containing
1984 the node will be central in the drawing of its connected component.
1985 If not defined,
1986 twopi will pick a most central node, and circo will pick a random node.
1987 </html:p>
1988 </xsd:documentation>
1989 </xsd:annotation>
1990 </xsd:attribute>
1991
1992 <xsd:attribute name="rotate" type="xsd:integer">
1993 <xsd:annotation>
1994 <xsd:documentation>
1995 <html:p>
1996 If 90, set drawing orientation to landscape.
1997 </html:p>
1998 </xsd:documentation>
1999 </xsd:annotation>
2000 </xsd:attribute>
2001
2002 <xsd:attribute name="samehead" type="xsd:string">
2003 <xsd:annotation>
2004 <xsd:documentation>
2005 <html:p>
2006 Edges with the same head and the same <html:a rel="attr">samehead</html:a> value are aimed
2007 at the same point on the head.
2008 See <html:a rel="note">undirected</html:a>.
2009 </html:p>
2010 </xsd:documentation>
2011 </xsd:annotation>
2012 </xsd:attribute>
2013
2014 <xsd:attribute name="sametail" type="xsd:string">
2015 <xsd:annotation>
2016 <xsd:documentation>
2017 <html:p>
2018 Edges with the same tail and the same <html:a rel="attr">sametail</html:a> value are aimed
2019 at the same point on the tail.
2020 See <html:a rel="note">undirected</html:a>.
2021 </html:p>
2022 </xsd:documentation>
2023 </xsd:annotation>
2024 </xsd:attribute>
2025
2026 <xsd:attribute name="samplepoints" type="xsd:integer">
2027 <xsd:annotation>
2028 <xsd:documentation>
2029 <html:p>
2030 If the input graph defines the <html:a rel="attr"><html:a rel="attr">vertices</html:a></html:a>
2031 attribute, and output is dot or xdot, this gives
2032 the number of points used for a node whose shape is a circle or ellipse.
2033 It plays the same role in neato, when adjusting the layout to avoid
2034 overlapping nodes, and in image maps.
2035 </html:p>
2036 </xsd:documentation>
2037 </xsd:annotation>
2038 </xsd:attribute>
2039
2040 <xsd:attribute name="searchsize" type="xsd:integer">
2041 <xsd:annotation>
2042 <xsd:documentation>
2043 <html:p>
2044 During network simplex, maximum number of edges with negative cut values
2045 to search when looking for one with minimum cut value.
2046 </html:p>
2047 </xsd:documentation>
2048 </xsd:annotation>
2049 </xsd:attribute>
2050
2051 <xsd:attribute name="sep" type="pointf">
2052 <xsd:annotation>
2053 <xsd:documentation>
2054 <html:p>
2055 Fraction to increase polygons (multiply
2056 coordinates by 1 + sep) for purposes of determining overlap. Guarantees
2057 a minimal non-zero distance between nodes.
2058 If unset but <html:a rel="attr">esep</html:a> is defined, <html:a rel="attr">sep</html:a> will be
2059 set to <html:code>esep/0.8</html:code>. If <html:a rel="attr">esep</html:a> is unset, the default value
2060 is used.
2061 </html:p>
2062 <html:p>
2063 When <html:a rel="attr">overlap</html:a>="ipsep" or "vpsc",
2064 <html:a rel="attr">sep</html:a> gives a minimum distance, in inches, to be left between nodes.
2065 In this case, if <html:a rel="attr">sep</html:a> is a pointf, the x and y separations can be
2066 specified separately.
2067 </html:p>
2068 </xsd:documentation>
2069 </xsd:annotation>
2070 </xsd:attribute>
2071
2072 <xsd:attribute name="shape" type="shape">
2073 <xsd:annotation>
2074 <xsd:documentation>
2075 <html:p>
2076 Set the shape of a node.
2077 </html:p>
2078 </xsd:documentation>
2079 </xsd:annotation>
2080 </xsd:attribute>
2081
2082 <xsd:attribute name="shapefile" type="xsd:string">
2083 <xsd:annotation>
2084 <xsd:documentation>
2085 <html:p>
2086 (Deprecated) If defined, shapefile specifies a file containing user-supplied node content.
2087 The <html:a rel="attr">shape</html:a> of the node is set to box.
2088 The image in the shapefile must be
2089 rectangular. The image formats supported as well as the precise semantics of
2090 how the file is used depends on the
2091 <html:a href="http://www.graphviz.org/doc/info/output.html">output format</html:a>. For further details, see
2092 <html:a href="http://www.graphviz.org/Documentation/html/shapehowto.html#ext_image">External PostScript files</html:a>.
2093 </html:p>
2094 <html:p>
2095 There is one exception to this usage.
2096 If <html:a rel="attr">shape</html:a> is set to "epsf", shapefile gives
2097 a filename containing a definition of the node in PostScript.
2098 The graphics defined must be contain all of the
2099 node content, including any desired boundaries.
2100 For further details, see
2101 <html:a href="http://www.graphviz.org/Documentation/html/shapehowto.html#ext_ps">
2102 External PostScript files</html:a>.
2103 </html:p>
2104 </xsd:documentation>
2105 </xsd:annotation>
2106 </xsd:attribute>
2107
2108 <xsd:attribute name="showboxes" type="xsd:integer">
2109 <xsd:annotation>
2110 <xsd:documentation>
2111 <html:p>
2112 Print guide boxes in PostScript at the beginning of
2113 routesplines if 1, or at the end if 2. (Debugging)
2114 </html:p>
2115 </xsd:documentation>
2116 </xsd:annotation>
2117 </xsd:attribute>
2118
2119 <xsd:attribute name="sides" type="xsd:integer">
2120 <xsd:annotation>
2121 <xsd:documentation>
2122 <html:p>
2123 Number of sides if <html:a rel="attr">shape</html:a>=polygon.
2124 </html:p>
2125 </xsd:documentation>
2126 </xsd:annotation>
2127 </xsd:attribute>
2128
2129 <xsd:attribute name="size" type="pointf">
2130 <xsd:annotation>
2131 <xsd:documentation>
2132 <html:p>
2133 Maximum width and height of drawing, in inches.
2134 If defined and the drawing is too large, the drawing is uniformly
2135 scaled down so that it fits within the given size.
2136 </html:p>
2137 <html:p>
2138 If <html:a rel="attr">size</html:a> ends in an exclamation point (<html:tt>!</html:tt>),
2139 then it is taken to be
2140 the desired size. In this case, if both dimensions of the drawing are
2141 less than <html:a rel="attr">size</html:a>, the drawing is scaled up uniformly until at
2142 least one dimension equals its dimension in <html:a rel="attr">size</html:a>.
2143 </html:p>
2144 <html:p>
2145 Note that there is some interaction between the <html:a rel="attr">size</html:a> and
2146 <html:a rel="attr">ratio</html:a> attributes.
2147 </html:p>
2148 </xsd:documentation>
2149 </xsd:annotation>
2150 </xsd:attribute>
2151
2152 <xsd:attribute name="skew" type="xsd:decimal">
2153 <xsd:annotation>
2154 <xsd:documentation>
2155 <html:p>
2156 Skew factor for <html:a rel="attr">shape</html:a>=polygon. Positive values
2157 skew top of polygon to right; negative to left.
2158 </html:p>
2159 </xsd:documentation>
2160 </xsd:annotation>
2161 </xsd:attribute>
2162
2163 <xsd:attribute name="splines" type="xsd:string">
2164 <xsd:annotation>
2165 <xsd:documentation>
2166 <html:p>
2167 Controls how, and if, edges are represented. If true, edges are drawn as
2168 splines routed around nodes; if false, edges are drawn as line segments.
2169 If set to "", no edges are drawn at all.
2170 </html:p>
2171 <html:p>
2172 (1 March 2007) The values <html:span class="val">line</html:span> and <html:span class="val">spline</html:span> can be
2173 used as synonyms for <html:span class="val">false</html:span> and <html:span class="val">true</html:span>, respectively.
2174 In addition, the value <html:span class="val">polyline</html:span> specifies that edges should be
2175 drawn as polylines.
2176 </html:p>
2177 <html:p>
2178 By default, the attribute is unset. How this is interpreted depends on
2179 the layout. For dot, the default is to draw edges as splines. For all
2180 other layouts, the default is to draw edges as line segments. Note that
2181 for these latter layouts, if <html:code>splines="true"</html:code>, this
2182 requires non-overlapping nodes (cf. <html:a rel="attr">overlap</html:a>).
2183 If fdp is used for layout and <html:tt>splines="compound"</html:tt>, then the edges are
2184 drawn to avoid clusters as well as nodes.
2185 </html:p>
2186 </xsd:documentation>
2187 </xsd:annotation>
2188 </xsd:attribute>
2189
2190 <xsd:attribute name="start" type="startType">
2191 <xsd:annotation>
2192 <xsd:documentation>
2193 <html:p>
2194 Parameter used to determine the initial layout of nodes. If unset, the
2195 nodes are randomly placed in a unit square with
2196 the same seed is always used for the random number generator, so the
2197 initial placement is repeatable.
2198 </html:p>
2199 </xsd:documentation>
2200 </xsd:annotation>
2201 </xsd:attribute>
2202
2203 <xsd:attribute name="style" type="style">
2204 <xsd:annotation>
2205 <xsd:documentation>
2206 <html:p>
2207 Set style for node or edge. For cluster subgraph, if "filled", the
2208 cluster box's background is filled.
2209 </html:p>
2210 </xsd:documentation>
2211 </xsd:annotation>
2212 </xsd:attribute>
2213
2214 <xsd:attribute name="stylesheet" type="xsd:string">
2215 <xsd:annotation>
2216 <xsd:documentation>
2217 <html:p>
2218 A URL or pathname specifying an XML style sheet, used in SVG output.
2219 </html:p>
2220 </xsd:documentation>
2221 </xsd:annotation>
2222 </xsd:attribute>
2223
2224 <xsd:attribute name="tailURL" type="xsd:anyURI">
2225 <xsd:annotation>
2226 <xsd:documentation>
2227 <html:p>
2228 If <html:a rel="attr">tailURL</html:a> is defined, it is
2229 output as part of the tail label of the edge.
2230 Also, this value is used near the tail node, overriding any
2231 <html:a rel="attr">URL</html:a> value.
2232 See <html:a rel="note">undirected</html:a>.
2233 </html:p>
2234 </xsd:documentation>
2235 </xsd:annotation>
2236 </xsd:attribute>
2237
2238 <xsd:attribute name="tailclip" type="xsd:boolean">
2239 <xsd:annotation>
2240 <xsd:documentation>
2241 <html:p>
2242 If <html:span class="val">true</html:span>, the tail of an edge is clipped to the boundary of the tail node;
2243 otherwise, the end of the edge goes to the center of the node, or the
2244 center of a port, if applicable.
2245 </html:p>
2246 </xsd:documentation>
2247 </xsd:annotation>
2248 </xsd:attribute>
2249
2250 <xsd:attribute name="tailhref" type="xsd:anyURI">
2251 <xsd:annotation>
2252 <xsd:documentation>
2253 <html:p>
2254 Synonym for <html:a rel="attr">tailURL</html:a>.
2255 </html:p>
2256 </xsd:documentation>
2257 </xsd:annotation>
2258 </xsd:attribute>
2259
2260 <xsd:attribute name="taillabel" type="lblString">
2261 <xsd:annotation>
2262 <xsd:documentation>
2263 <html:p>
2264 Text label to be placed near tail of edge.
2265 See <html:a rel="note">undirected</html:a>.
2266 </html:p>
2267 </xsd:documentation>
2268 </xsd:annotation>
2269 </xsd:attribute>
2270
2271 <xsd:attribute name="tailport" type="portPos">
2272 <xsd:annotation>
2273 <xsd:documentation>
2274 <html:p>
2275 Indicates where on the tail node to attach the tail of the edge.
2276 See <html:a rel="note">undirected</html:a>.
2277 </html:p>
2278 </xsd:documentation>
2279 </xsd:annotation>
2280 </xsd:attribute>
2281
2282 <xsd:attribute name="tailtarget" type="escString">
2283 <xsd:annotation>
2284 <xsd:documentation>
2285 <html:p>
2286 If the edge has a <html:a rel="attr">tailURL</html:a>,
2287 this attribute determines which window of the
2288 browser is used
2289 for the URL. Setting it to "_graphviz" will open a new window if it
2290 doesn't already exist, or reuse it if it does.
2291 If undefined, the value of the <html:a rel="attr">target</html:a> is used.
2292 </html:p>
2293 </xsd:documentation>
2294 </xsd:annotation>
2295 </xsd:attribute>
2296
2297 <xsd:attribute name="tailtooltip" type="escString">
2298 <xsd:annotation>
2299 <xsd:documentation>
2300 <html:p>
2301 Tooltip annotation attached to the tail of an edge. This is used only
2302 if the edge has a <html:a rel="attr">tailURL</html:a> attribute.
2303 </html:p>
2304 </xsd:documentation>
2305 </xsd:annotation>
2306 </xsd:attribute>
2307
2308 <xsd:attribute name="target" type="escString">
2309 <xsd:annotation>
2310 <xsd:documentation>
2311 <html:p>
2312 If the object has a URL, this attribute determines which window
2313 of the browser is used for the URL.
2314 See <html:a href="http://www.w3.org/TR/html401/present/frames.html#adef-target">W3C documentation</html:a>.
2315 </html:p>
2316 </xsd:documentation>
2317 </xsd:annotation>
2318 </xsd:attribute>
2319
2320 <xsd:attribute name="tooltip" type="escString">
2321 <xsd:annotation>
2322 <xsd:documentation>
2323 <html:p>
2324 Tooltip annotation attached to the node or edge. If unset, Graphviz
2325 will use the object's <html:a rel="attr">label</html:a> if defined.
2326 Note that if the label is a record specification or an HTML-like
2327 label, the resulting tooltip may be unhelpful. In this case, if
2328 tooltips will be generated, the user should set a <html:tt>tooltip</html:tt>
2329 attribute explicitly.
2330 </html:p>
2331 </xsd:documentation>
2332 </xsd:annotation>
2333 </xsd:attribute>
2334
2335 <xsd:attribute name="truecolor" type="xsd:boolean">
2336 <xsd:annotation>
2337 <xsd:documentation>
2338 <html:p>
2339 If set explicitly to true or false, the value determines whether or not
2340 internal bitmap rendering relies on a truecolor color model or uses
2341 a color palette.
2342 If the attribute is unset, truecolor is not used
2343 unless there is a <html:a rel="attr">shapefile</html:a> property
2344 for some node in the graph.
2345 The output model will use the input model when possible.
2346 </html:p>
2347 <html:p>
2348 Use of color palettes results in less memory usage during creation of the
2349 bitmaps and smaller output files.
2350 </html:p>
2351 <html:p>
2352 Usually, the only time it is necessary to specify the truetype model
2353 is if the graph uses more than 256 colors.
2354 However, if one uses <html:a rel="attr">bgcolor</html:a>=transparent with
2355 a color palette, font
2356 antialiasing can show up as a fuzzy white area around characters.
2357 Using <html:a rel="attr">truecolor</html:a>=true avoids this problem.
2358 </html:p>
2359 </xsd:documentation>
2360 </xsd:annotation>
2361 </xsd:attribute>
2362
2363 <xsd:attribute name="vertices" type="pointfList">
2364 <xsd:annotation>
2365 <xsd:documentation>
2366 <html:p>
2367 If the input graph defines this attribute, the node is polygonal,
2368 and output is dot or xdot, this attribute provides the
2369 coordinates of the vertices of the node's polygon, in inches.
2370 If the node is an ellipse or circle, the
2371 <html:a rel="attr">samplepoints</html:a> attribute affects
2372 the output.
2373 </html:p>
2374 </xsd:documentation>
2375 </xsd:annotation>
2376 </xsd:attribute>
2377
2378 <xsd:attribute name="viewport" type="viewPort">
2379 <xsd:annotation>
2380 <xsd:documentation>
2381 <html:p>
2382 Clipping window on final drawing.
2383 </html:p>
2384 </xsd:documentation>
2385 </xsd:annotation>
2386 </xsd:attribute>
2387
2388 <xsd:attribute name="voro_margin" type="xsd:decimal">
2389 <xsd:annotation>
2390 <xsd:documentation>
2391 <html:p>
2392 Factor to scale up drawing to allow margin for expansion in
2393 Voronoi technique. dim' = (1+2*margin)*dim.
2394 </html:p>
2395 </xsd:documentation>
2396 </xsd:annotation>
2397 </xsd:attribute>
2398
2399 <xsd:attribute name="weight" type="xsd:decimal">
2400 <xsd:annotation>
2401 <xsd:documentation>
2402 <html:p>
2403 Weight of edge. In dot, the heavier the weight, the shorter,
2404 straighter and more vertical the edge is. In neato, the heavier the
2405 weight, the more neato will try to place the end points so that the
2406 length of the edge is <html:a rel="attr">len</html:a>.
2407 </html:p>
2408 </xsd:documentation>
2409 </xsd:annotation>
2410 </xsd:attribute>
2411
2412 <xsd:attribute name="width" type="xsd:decimal">
2413 <xsd:annotation>
2414 <xsd:documentation>
2415 <html:p>
2416 Width of node, in inches. This is taken as the initial, minimum width
2417 of the node. If <html:a rel="attr">fixedsize</html:a> is true, this
2418 will be the final width of the node. Otherwise, if the node label
2419 requires more width to fit, the node's width will be increased to
2420 contain the label. Note also that, if the output format is dot, the
2421 value given to <html:a rel="attr">width</html:a> will be the final value.
2422 </html:p>
2423 </xsd:documentation>
2424 </xsd:annotation>
2425 </xsd:attribute>
2426
2427 <xsd:attribute name="z" type="xsd:decimal">
2428 <xsd:annotation>
2429 <xsd:documentation>
2430 <html:p>
2431 Provides z coordinate value for 3D layouts and displays. If the
2432 graph has <html:a rel="attr">dim</html:a> set to 3 (or more),
2433 neato will use a node's <html:a rel="attr">z</html:a> value
2434 for the z coordinate of its initial position if
2435 its <html:a rel="attr">pos</html:a> attribute is also defined.
2436 </html:p>
2437 <html:p>
2438 Even if no <html:a rel="attr">z</html:a> values are specified in the input, it is necessary to
2439 declare a <html:a rel="attr">z</html:a> attribute for nodes, e.g, using <html:tt>node[z=""]</html:tt>
2440 in order to get z values on output.
2441 Thus, setting <html:tt>dim=3</html:tt> but not declaring <html:a rel="attr">z</html:a> will
2442 cause <html:tt>neato -Tvrml</html:tt> to
2443 layout the graph in 3D but project the layout onto the xy-plane
2444 for the rendering. If the <html:a rel="attr">z</html:a> attribute is declared, the final rendering
2445 will be in 3D.
2446 </html:p>
2447 </xsd:documentation>
2448 </xsd:annotation>
2449 </xsd:attribute>
2450
2451 <!-- COMPONENTS -->
2452
2453 <xsd:complexType name="edge">
2454 <xsd:attribute ref="URL" />
2455 <xsd:attribute ref="arrowhead" default="normal" />
2456 <xsd:attribute ref="arrowsize" default="1.0" />
2457 <xsd:attribute ref="arrowtail" default="normal" />
2458 <xsd:attribute ref="color" default="black" />
2459 <xsd:attribute ref="colorscheme" />
2460 <xsd:attribute ref="comment" />
2461 <xsd:attribute ref="constraint" default="true" />
2462 <xsd:attribute ref="decorate" default="false" />
2463 <xsd:attribute ref="dir" />
2464 <xsd:attribute ref="edgeURL" />
2465 <xsd:attribute ref="edgehref"/>
2466 <xsd:attribute ref="edgetarget" />
2467 <xsd:attribute ref="edgetooltip" />
2468 <xsd:attribute ref="fontcolor" default="black" />
2469 <xsd:attribute ref="fontname" default="Times-Roman" />
2470 <xsd:attribute ref="fontsize" default="14.0" />
2471 <xsd:attribute ref="headURL" />
2472 <xsd:attribute ref="headclip" default="true" />
2473 <xsd:attribute ref="headhref"/>
2474 <xsd:attribute ref="headlabel" />
2475 <xsd:attribute ref="headport" default="center"/>
2476 <xsd:attribute ref="headtarget" />
2477 <xsd:attribute ref="headtooltip" />
2478 <xsd:attribute ref="href" />
2479 <xsd:attribute ref="label" />
2480 <xsd:attribute ref="labelURL" />
2481 <xsd:attribute ref="labelangle" default="-25.0" />
2482 <xsd:attribute ref="labeldistance" default="1.0" />
2483 <xsd:attribute ref="labelfloat" default="false" />
2484 <xsd:attribute ref="labelfontcolor" default="black" />
2485 <xsd:attribute ref="labelfontname" default="Times-Roman" />
2486 <xsd:attribute ref="labelfontsize" default="14.0" />
2487 <xsd:attribute ref="labelhref" />
2488 <xsd:attribute ref="labeltarget" />
2489 <xsd:attribute ref="labeltooltip" />
2490 <xsd:attribute ref="layer" />
2491 <xsd:attribute ref="len" />
2492 <xsd:attribute ref="lhead" />
2493 <xsd:attribute ref="lp" />
2494 <xsd:attribute ref="ltail" />
2495 <xsd:attribute ref="minlen" default="1" />
2496 <xsd:attribute ref="nojustify" default="false" />
2497 <xsd:attribute ref="pos" />
2498 <xsd:attribute ref="samehead" />
2499 <xsd:attribute ref="sametail" />
2500 <xsd:attribute ref="showboxes" default="0" />
2501 <xsd:attribute ref="style" />
2502 <xsd:attribute ref="tailURL" />
2503 <xsd:attribute ref="tailclip" default="true" />
2504 <xsd:attribute ref="tailhref"/>
2505 <xsd:attribute ref="taillabel" />
2506 <xsd:attribute ref="tailport" default="center"/>
2507 <xsd:attribute ref="tailtarget" />
2508 <xsd:attribute ref="tailtooltip" />
2509 <xsd:attribute ref="target" />
2510 <xsd:attribute ref="tooltip" />
2511 <xsd:attribute ref="weight" default="1.0" />
2512 </xsd:complexType>
2513
2514 <xsd:complexType name="node">
2515 <xsd:attribute ref="URL" />
2516 <xsd:attribute ref="color" default="black" />
2517 <xsd:attribute ref="colorscheme" />
2518 <xsd:attribute ref="comment" />
2519 <xsd:attribute ref="distortion" default="0.0" />
2520 <xsd:attribute ref="fillcolor" default="lightgrey" />
2521 <xsd:attribute ref="fixedsize" default="false" />
2522 <xsd:attribute ref="fontcolor" default="black" />
2523 <xsd:attribute ref="fontname" default="Times-Roman" />
2524 <xsd:attribute ref="fontsize" default="14.0" />
2525 <xsd:attribute ref="group" />
2526 <xsd:attribute ref="height" default="0.5" />
2527 <xsd:attribute ref="image" />
2528 <xsd:attribute ref="imagescale" default="false" />
2529 <xsd:attribute ref="label" default="\N" />
2530 <xsd:attribute ref="layer" />
2531 <xsd:attribute ref="margin" />
2532 <xsd:attribute ref="nojustify" default="false" />
2533 <!-- <xsd:attribute ref="orientation" default="0.0" /> -->
2534 <xsd:attribute ref="peripheries" />
2535 <xsd:attribute ref="pin" default="false" />
2536 <xsd:attribute ref="pos" />
2537 <xsd:attribute ref="rects" />
2538 <xsd:attribute ref="regular" default="false" />
2539 <xsd:attribute ref="root" default="false" />
2540 <xsd:attribute ref="samplepoints" default="false" />
2541 <xsd:attribute ref="shape" default="ellipse" />
2542 <xsd:attribute ref="shapefile" />
2543 <xsd:attribute ref="showboxes" default="0" />
2544 <xsd:attribute ref="sides" default="4" />
2545 <xsd:attribute ref="skew" default="0.0" />
2546 <xsd:attribute ref="style" />
2547 <xsd:attribute ref="target" />
2548 <xsd:attribute ref="tooltip" />
2549 <xsd:attribute ref="vertices" />
2550 <xsd:attribute ref="width" default="0.75" />
2551 <xsd:attribute ref="z" default="0.0" />
2552 </xsd:complexType>
2553
2554 <xsd:complexType name="graph">
2555 <xsd:attribute ref="imagepath" />
2556 <xsd:attribute ref="Damping" default="0.99" />
2557 <xsd:attribute ref="K" default="0.3" />
2558 <xsd:attribute ref="URL" />
2559 <xsd:attribute ref="bb" />
2560 <xsd:attribute ref="bgcolor" />
2561 <xsd:attribute ref="center" />
2562 <xsd:attribute ref="charset" />
2563 <xsd:attribute ref="clusterrank" default="local" />
2564 <xsd:attribute ref="colorscheme" />
2565 <xsd:attribute ref="comment" />
2566 <xsd:attribute ref="compound" default="false" />
2567 <xsd:attribute ref="concentrate" default="false" />
2568 <xsd:attribute ref="defaultdist" />
2569 <xsd:attribute ref="dim" default="2" />
2570 <xsd:attribute ref="diredgeconstraints" default="false" />
2571 <xsd:attribute ref="dpi" default="96.0" />
2572 <xsd:attribute ref="epsilon" />
2573 <xsd:attribute ref="esep" />
2574 <xsd:attribute ref="fontcolor" default="black" />
2575 <xsd:attribute ref="fontname" default="Times-Roman" />
2576 <xsd:attribute ref="fontnames" />
2577 <xsd:attribute ref="fontpath" />
2578 <xsd:attribute ref="fontsize" default="14.0" />
2579 <xsd:attribute ref="label" />
2580 <xsd:attribute ref="labeljust" default="c" />
2581 <xsd:attribute ref="labelloc" default="b" />
2582 <xsd:attribute ref="landscape" default="false" />
2583 <xsd:attribute ref="layers" default="false" />
2584 <xsd:attribute ref="layersep" default=" : " />
2585 <xsd:attribute ref="layout" />
2586 <xsd:attribute ref="levelsgap" default="0.0" />
2587 <xsd:attribute ref="lp" />
2588 <xsd:attribute ref="margin" />
2589 <xsd:attribute ref="maxiter" />
2590 <xsd:attribute ref="mclimit" default="1.0" />
2591 <xsd:attribute ref="mindist" default="1.0" />
2592 <xsd:attribute ref="mode" default="major" />
2593 <xsd:attribute ref="model" default="shortpath" />
2594 <xsd:attribute ref="mosek" default="false" />
2595 <xsd:attribute ref="nodesep" default="0.25" />
2596 <xsd:attribute ref="nojustify" default="false" />
2597 <xsd:attribute ref="normalize" default="false" />
2598 <xsd:attribute ref="nslimit" />
2599 <xsd:attribute ref="nslimit1" />
2600 <xsd:attribute ref="ordering" />
2601 <!-- <xsd:attribute ref="orientation" /> -->
2602 <xsd:attribute ref="outputorder" default="breadthfirst" />
2603 <xsd:attribute ref="overlap" default="true" />
2604 <xsd:attribute ref="pack" default="false" />
2605 <xsd:attribute ref="packmode" default="node" />
2606 <xsd:attribute ref="pad" />
2607 <xsd:attribute ref="page" />
2608 <xsd:attribute ref="pagedir" />
2609 <xsd:attribute ref="quantum" default="0.0" />
2610 <xsd:attribute ref="rankdir" default="TB" />
2611 <xsd:attribute ref="ranksep" />
2612 <xsd:attribute ref="ratio" />
2613 <xsd:attribute ref="remincross" default="false" />
2614 <xsd:attribute ref="resolution" default="96.0" />
2615 <xsd:attribute ref="root" />
2616 <xsd:attribute ref="rotate" default="0" />
2617 <xsd:attribute ref="searchsize" default="30" />
2618 <xsd:attribute ref="sep" default="0.1" />
2619 <xsd:attribute ref="showboxes" default="0" />
2620 <xsd:attribute ref="size" />
2621 <xsd:attribute ref="splines" />
2622 <xsd:attribute ref="start" />
2623 <xsd:attribute ref="stylesheet" />
2624 <xsd:attribute ref="target" />
2625 <xsd:attribute ref="truecolor" />
2626 <xsd:attribute ref="viewport" />
2627 <xsd:attribute ref="voro_margin" default="0.05" />
2628 </xsd:complexType>
2629
2630 <xsd:complexType name="subgraph">
2631 <xsd:attribute ref="rank" />
2632 </xsd:complexType>
2633
2634 <xsd:complexType name="cluster">
2635 <xsd:attribute ref="K" />
2636 <xsd:attribute ref="URL" />
2637 <xsd:attribute ref="bgcolor" />
2638 <xsd:attribute ref="color" default="black" />
2639 <xsd:attribute ref="colorscheme" />
2640 <xsd:attribute ref="fillcolor" default="black" />
2641 <xsd:attribute ref="fixedsize" default="false" />
2642 <xsd:attribute ref="fontcolor" default="black" />
2643 <xsd:attribute ref="fontname" default="Times-Roman" />
2644 <xsd:attribute ref="fontsize" default="14.0" />
2645 <xsd:attribute ref="label" />
2646 <xsd:attribute ref="labeljust" default="c" />
2647 <xsd:attribute ref="labelloc" default="t" />
2648 <xsd:attribute ref="lp" />
2649 <xsd:attribute ref="nojustify" default="false" />
2650 <xsd:attribute ref="pencolor" default="black" />
2651 <xsd:attribute ref="style" />
2652 <xsd:attribute ref="target" />
2653 <xsd:attribute ref="tooltip" />
2654 </xsd:complexType>
2655
2656 </xsd:schema>