From: erg Date: Tue, 15 Apr 2008 17:20:25 +0000 (+0000) Subject: Add source for info pages to CVS X-Git-Tag: LAST_LIBGRAPH~32^2~4310 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6861f19be89c8b37b6055e59ca2c0c9d93357d6;p=graphviz Add source for info pages to CVS --- diff --git a/doc/infosrc/html.3 b/doc/infosrc/html.3 new file mode 100644 index 000000000..da17bbc41 --- /dev/null +++ b/doc/infosrc/html.3 @@ -0,0 +1,23 @@ + +produces the HTML analogue of the record example above
+ +

+As usual, an HTML specification is more verbose. On the other hand, +HTML labels are much more general, as the following example shows: +

+ +

+The source for this graph can be found here. +

+Here is an example using <FONT> elements +

+ +

+with the input graph. +

+Here is an example using an <IMG> element +

+ +

+with the input graph. + diff --git a/doc/infosrc/html1.dot b/doc/infosrc/html1.dot new file mode 100644 index 000000000..dca7aaef9 --- /dev/null +++ b/doc/infosrc/html1.dot @@ -0,0 +1,28 @@ +digraph structs { + node [shape=plaintext] + struct1 [label=< + + +
leftmid dleright
>]; + struct2 [label=< + + +
onetwo
>]; + struct3 [label=< + + + + + + + + + + + + + +
hello
world
bgh
cde
f
>]; + struct1:f1 -> struct2:f0; + struct1:f2 -> struct3:here; +} diff --git a/doc/infosrc/html_grammar b/doc/infosrc/html_grammar new file mode 100644 index 000000000..00fbeb9ae --- /dev/null +++ b/doc/infosrc/html_grammar @@ -0,0 +1,8 @@ +label = text | table +text = textitem | text textitem +textitem = string | T_<BR/> | T_<FONT> text T_</FONT> +table = [ T_<FONT> ] T_<TABLE> rows T_</TABLE> [ T_</FONT> ] +rows = row | rows row +row = T_<TR> cells T_</TR> +cells = cell | cells cell +cell = T_<TD> label T_</TD> | T_<TD> T_<IMG/> T_</TD> diff --git a/doc/infosrc/lang.1 b/doc/infosrc/lang.1 new file mode 100644 index 000000000..23776ea2b --- /dev/null +++ b/doc/infosrc/lang.1 @@ -0,0 +1,19 @@ + + + + +The DOT Language + + + +

The DOT Language

+
+The following is an abstract grammar defining the DOT language. +Terminals are shown in bold font and nonterminals in italics. +Literal characters are given in single quotes. +Parentheses ( and ) indicate grouping when needed. +Square brackets [ and ] enclose optional items. +Vertical bars | separate alternatives. +