]> granicus.if.org Git - graphviz/commitdiff
apply patch that:
authorellson <devnull@localhost>
Mon, 21 Sep 2009 12:23:21 +0000 (12:23 +0000)
committerellson <devnull@localhost>
Mon, 21 Sep 2009 12:23:21 +0000 (12:23 +0000)
adds "layout" to doc/schema/attributes.xml and thus to the graph attributes in the inspector window
from Ryan Schmidt <graphviz-2009a@ryandesign.com>

doc/schema/attributes.xml

index d8521c0547a35b41606365439f778f890d2567d5..ffad31c3e345db60497ba66dfed0f683d5c778ce 100644 (file)
                </xsd:annotation>
        </xsd:attribute>
        
+       <xsd:attribute name="layout" type="xsd:string">
+               <xsd:annotation>
+                       <xsd:documentation>
+                               <html:p>
+                                       Specifies the name of the layout algorithm to use, such as <html:span class="val">dot</html:span>
+                                       or <html:span class="val">neato</html:span>. Normally, graphs should be kept independent of a type of
+                                       layout. In some cases, however, it can be convenient to embed the type
+                                       of layout desired within the graph. For example, a graph containing
+                                       position information from a layout might want to record what the
+                                       associated layout algorithm was.
+                               </html:p>
+                               <html:p>
+                                       This attribute takes precedence over 
+                                       the <html:a href="http://www.graphviz.org/doc/info/command.html#minusK">-K flag</html:a> 
+                                       or the actual command name used.
+                               </html:p>
+                       </xsd:documentation>
+               </xsd:annotation>
+       </xsd:attribute>
+       
        <xsd:attribute name="len" type="xsd:decimal">
                <xsd:annotation>
                        <xsd:documentation>
                <xsd:attribute ref="landscape" default="false" />
                <xsd:attribute ref="layers" default="false" />
                <xsd:attribute ref="layersep" default=" :       " />
+               <xsd:attribute ref="layout" />
                <xsd:attribute ref="levelsgap" default="0.0" />
                <xsd:attribute ref="lp" />
                <xsd:attribute ref="margin" />