From 8bd2e4fd5b2e12030b1353868e4e1566a0fb00c1 Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Sun, 9 Mar 2014 16:23:21 -0400 Subject: [PATCH] Add documentation for using .. --- doc/info/shapes.html | 36 ++++++++++++++++++++++++++++++++++-- doc/infosrc/html.2 | 8 +++++++- doc/infosrc/html_grammar | 2 +- 3 files changed, 42 insertions(+), 4 deletions(-) diff --git a/doc/info/shapes.html b/doc/info/shapes.html index 3e7d26853..cc0ab2146 100644 --- a/doc/info/shapes.html +++ b/doc/info/shapes.html @@ -545,6 +545,11 @@ Note that, as in HTML, element and attribute names are case-insensitive. | <U> text </U> + + + | + <O> text </O> + | @@ -731,11 +736,17 @@ Attribute values must appear in double quotes. >

- <!-- Underlined text --> + <!-- Underline text -->

<U
   <!-- No attributes -->
 >
 
+

+ <!-- Overline text --> +

<O
+  <!-- No attributes -->
+>
+

<!-- Subscript text -->

<SUB
@@ -1150,7 +1161,28 @@ Here is an example using an <IMG> element
 
 

with the input graph. - +

+The sides attribute (version 2.37 and later) allows one to combine cells to form +various non-convex shapes. For example, a tee-shaped node +

+ +

+can be produced using +

+ tee [shape=none margin=0 label= + <<table border="0" cellspacing="0" cellborder="1"> + <tr> + <td width="9" height="9" fixedsize="true" style="invis"></td> + <td width="9" height="9" fixedsize="true" sides="ltr"></td> + <td width="9" height="9" fixedsize="true" style="invis"></td> + </tr> + <tr> + <td width="9" height="9" fixedsize="true" sides="tlb"></td> + <td width="9" height="9" fixedsize="true" sides="b"></td> + <td width="9" height="9" fixedsize="true" sides="brt"></td> + </tr> + </table>>] +

User-defined Nodes

There is a third type of node shape which is specified by the user. diff --git a/doc/infosrc/html.2 b/doc/infosrc/html.2 index 49bac1b15..f48bfd8d8 100644 --- a/doc/infosrc/html.2 +++ b/doc/infosrc/html.2 @@ -119,11 +119,17 @@ Attribute values must appear in double quotes. >

- <!-- Underlined text --> + <!-- Underline text -->

<U
   <!-- No attributes -->
 >
 
+

+ <!-- Overline text --> +

<O
+  <!-- No attributes -->
+>
+

<!-- Subscript text -->

<SUB
diff --git a/doc/infosrc/html_grammar b/doc/infosrc/html_grammar
index d1699c8e0..e16f20024 100644
--- a/doc/infosrc/html_grammar
+++ b/doc/infosrc/html_grammar
@@ -1,6 +1,6 @@
 label    =  text | table
 text     = textitem | text textitem
-textitem = string | T_<BR/> | T_<FONT> text T_</FONT> | T_<I> text T_</I> | T_<B> text T_</B> | T_<U> text T_</U> | T_<SUB> text T_</SUB> |T_<SUP> text T_</SUP> | T_<S> text T_</S>
+textitem = string | T_<BR/> | T_<FONT> text T_</FONT> | T_<I> text T_</I> | T_<B> text T_</B> | T_<U> text T_</U> | T_<O> text T_</O> | T_<SUB> text T_</SUB> |T_<SUP> text T_</SUP> | T_<S> text T_</S>
 table =  [ T_<FONT> ] T_<TABLE> rows T_</TABLE> [ T_</FONT> ]
 rows = row | rows row | rows T_<HR/> row
 row = T_<TR> cells T_</TR>
-- 
2.40.0