]> granicus.if.org Git - graphviz/commitdiff
Add source for info pages to CVS
authorerg <devnull@localhost>
Tue, 15 Apr 2008 17:20:25 +0000 (17:20 +0000)
committererg <devnull@localhost>
Tue, 15 Apr 2008 17:20:25 +0000 (17:20 +0000)
doc/infosrc/html2.dot [new file with mode: 0644]
doc/infosrc/html3.dot [new file with mode: 0644]

diff --git a/doc/infosrc/html2.dot b/doc/infosrc/html2.dot
new file mode 100644 (file)
index 0000000..04cf676
--- /dev/null
@@ -0,0 +1,46 @@
+digraph G {
+  rankdir=LR
+  node [shape=plaintext]
+  a [
+     label=<
+<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
+  <TR><TD ROWSPAN="3" BGCOLOR="yellow">class</TD></TR>
+  <TR><TD PORT="here" BGCOLOR="lightblue">qualifier</TD></TR>
+</TABLE>>
+  ]
+    b [shape=ellipse style=filled
+  label=<
+<TABLE BGCOLOR="bisque">
+  <TR><TD COLSPAN="3">elephant</TD> 
+      <TD ROWSPAN="2" BGCOLOR="chartreuse" 
+          VALIGN="bottom" ALIGN="right">two</TD> </TR>
+  <TR><TD COLSPAN="2" ROWSPAN="2">
+        <TABLE BGCOLOR="grey">
+          <TR> <TD>corn</TD> </TR> 
+          <TR> <TD BGCOLOR="yellow">c</TD> </TR> 
+          <TR> <TD>f</TD> </TR> 
+        </TABLE> </TD>
+      <TD BGCOLOR="white">penguin</TD> 
+  </TR> 
+  <TR> <TD COLSPAN="2" BORDER="4" ALIGN="right" PORT="there">4</TD> </TR>
+</TABLE>>
+  ]
+  c [ 
+  label=<long line 1<BR/>line 2<BR ALIGN="LEFT"/>line 3<BR ALIGN="RIGHT"/>>
+  ]
+
+  subgraph { rank=same b c }
+  a:here -> b:there [arrowtail = diamond]
+  c -> b
+  d [shape=triangle]
+  d -> c [label=<
+<TABLE>
+  <TR><TD BGCOLOR="red" WIDTH="10"> </TD>
+      <TD>Edge labels<BR/>also</TD>
+      <TD BGCOLOR="blue" WIDTH="10"> </TD>
+  </TR>
+</TABLE>>
+  ]
+}
+
diff --git a/doc/infosrc/html3.dot b/doc/infosrc/html3.dot
new file mode 100644 (file)
index 0000000..209f572
--- /dev/null
@@ -0,0 +1,20 @@
+digraph structs {
+    node [shape=plaintext];
+
+    struct1 [label=<<TABLE>
+       <TR>
+           <TD>line 1</TD>
+           <TD BGCOLOR="blue"><FONT COLOR="white">line2</FONT></TD>
+           <TD BGCOLOR="gray"><FONT POINT-SIZE="24.0">line3</FONT></TD>
+           <TD BGCOLOR="yellow"><FONT POINT-SIZE="24.0" FACE="playbill">line4</FONT></TD>
+           <TD>
+             <TABLE CELLPADDING="0" BORDER="0" CELLSPACING="0">
+          <TR>
+            <TD><FONT COLOR="green">Mixed</FONT></TD>
+            <TD><FONT COLOR="red">fonts</FONT></TD>
+          </TR>
+             </TABLE>
+        </TD>
+       </TR>
+    </TABLE>>];
+}