doc/lgf.dox
changeset 226 4c9d85f5dc93
parent 209 765619b7cbb2
child 236 da953e387d31
equal deleted inserted replaced
4:c1bfde870be0 5:dece288031ce
    55 graph. Each line contains the values of the node maps
    55 graph. Each line contains the values of the node maps
    56 associated to the current node.
    56 associated to the current node.
    57 
    57 
    58 \code
    58 \code
    59  @nodes
    59  @nodes
    60  label   coordinates size    title
    60  label  coordinates  size    title
    61  1       (10,20)     10      "First node"
    61  1      (10,20)      10      "First node"
    62  2       (80,80)     8       "Second node"
    62  2      (80,80)      8       "Second node"
    63  3       (40,10)     10      "Third node"
    63  3      (40,10)      10      "Third node"
    64 \endcode
    64 \endcode
    65 
    65 
    66 The \c \@arcs section is very similar to the \c \@nodes section,
    66 The \c \@arcs section is very similar to the \c \@nodes section,
    67 it again starts with a header line describing the names of the maps,
    67 it again starts with a header line describing the names of the maps,
    68 but the \c "label" map is not obligatory here. The following lines
    68 but the \c "label" map is not obligatory here. The following lines
    70 the source and the target node of the arc, respectively, then come the map
    70 the source and the target node of the arc, respectively, then come the map
    71 values. The source and target tokens must be node labels.
    71 values. The source and target tokens must be node labels.
    72 
    72 
    73 \code
    73 \code
    74  @arcs
    74  @arcs
    75                capacity
    75          capacity
    76  1   2   16
    76  1   2   16
    77  1   3   12
    77  1   3   12
    78  2   3   18
    78  2   3   18
    79 \endcode
    79 \endcode
    80 
    80