diff options
Diffstat (limited to 'doc/user/dia')
-rw-r--r-- | doc/user/dia | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/doc/user/dia b/doc/user/dia new file mode 100644 index 0000000..4029cec --- /dev/null +++ b/doc/user/dia @@ -0,0 +1,46 @@ +@Chapter + @Title { Diagrams } + @Tag { diagrams } +@Begin +@LP +This chapter describes how to use the @@Diag symbol +diag. @Index { @@Diag } +@FootNote { +Prior to Version 3.09 of Lout, this chapter described a symbol called +fig. @Index @Code "@Fig" +{@Code "@Fig"} which was similar to but more primitive than +{@Code "@Diag"}. For backward compatibility the @Code "@Fig" symbol +is still available and still works exactly as described in the old +documentation, but there is no reason to use it in new documents. +} +to make diagrams like this one: +diag. @Index @Code "@Diag" +@CD @Diag + margin { 0.2c } +{ +-2p @Font +{ A:: @Ellipse { 25, 39 } +/0.3c |0.2c B:: @Ellipse { 43 } |0.1c |0.8c E:: @Box outlinestyle {noline} {Problem node} +/0.3c C:: @Ellipse { 40, 41 } | | D:: @Ellipse paint { lightgrey } {44, 45, 46} +} +// @Link from { A } to { B } +// @Link from { B } to { C } +// @Link from { B } to { D } +// @Arrow from { E } to { D } +} +@@Diag offers nodes and links, arrows, labels, positioning using coordinates, +and tree diagrams. +@BeginSections +@Include { dia_intr } +@Include { dia_node } +@Include { dia_link } +@Include { dia_tags } +@Include { dia_labe } +@Include { dia_posi } +@Include { dia_tree } +@Include { dia_erro } +@Include { dia_defi } +@Include { dia_geom } +@Include { dia_summ } +@EndSections +@End @Chapter |