]> granicus.if.org Git - graphviz/commitdiff
Add more notes warning about using record shapes.
authorEmden R. Gansner <erg@alum.mit.edu>
Fri, 25 Jul 2014 19:22:10 +0000 (15:22 -0400)
committerEmden R. Gansner <erg@alum.mit.edu>
Fri, 25 Jul 2014 19:22:10 +0000 (15:22 -0400)
doc/info/shapes.html
doc/infosrc/shapes.1
doc/infosrc/shapes.2

index cc0ab2146b469bd2afad087d13c02da91ead0806..2906a526cb3aee82535274b543ff4416711a8a13 100644 (file)
@@ -17,7 +17,7 @@ There are three main types of shapes :
 The record-based shape has largely been superseded and greatly generalized
 by <A HREF=shapes.html#html>HTML-like labels</A>. 
 That is, instead of using <TT>shape=record</TT>, one might
-consider using <TT>shape=none</TT> and an HTML-like label.
+consider using <TT>shape=none</TT>, <TT>margin=0</TT> and an HTML-like label.
 <P>
 The geometry and style of all node shapes are affected by
 the node attributes 
@@ -286,6 +286,11 @@ The synthetic biology shapes:
 were contributed by Jenny Cheng.
 
 <H2><A NAME=record>Record-based Nodes</A></H2>
+<B>NOTE:</B> Please see the note about record-based nodes at the
+<A HREF=#top>top</A> of this page. Also note that there are problems using 
+non-trivial edges (edges with ports or labels) between adjacent
+nodes on the same rank if one or both nodes has a record shape.
+<P>
 These are specified by shape values of "record" and "Mrecord".
 The structure of a record-based node is determined by 
 its <A HREF=attrs.html#d:label><TT>label</TT></A>,
index 1dcaa5bedc4ae358182147930d038318f7930748..90397b1a17b52e227dc2095bc37e7a35bb42269f 100644 (file)
@@ -17,7 +17,7 @@ There are three main types of shapes :
 The record-based shape has largely been superseded and greatly generalized
 by <A HREF=shapes.html#html>HTML-like labels</A>. 
 That is, instead of using <TT>shape=record</TT>, one might
-consider using <TT>shape=none</TT> and an HTML-like label.
+consider using <TT>shape=none</TT>, <TT>margin=0</TT> and an HTML-like label.
 <P>
 The geometry and style of all node shapes are affected by
 the node attributes 
index 72eab109ed0ef158cf1809bea6061b9c33ff2f55..7ec4318778e3ff4c90fda164b1840731d4a2d0f0 100644 (file)
@@ -78,6 +78,11 @@ The synthetic biology shapes:
 were contributed by Jenny Cheng.
 
 <H2><A NAME=record>Record-based Nodes</A></H2>
+<B>NOTE:</B> Please see the note about record-based nodes at the
+<A HREF=#top>top</A> of this page. Also note that there are problems using 
+non-trivial edges (edges with ports or labels) between adjacent
+nodes on the same rank if one or both nodes has a record shape.
+<P>
 These are specified by shape values of "record" and "Mrecord".
 The structure of a record-based node is determined by 
 its <A HREF=attrs.html#d:label><TT>label</TT></A>,