doc/lgf.dox
changeset 207 574b963d0275
parent 192 7bf5f97d574f
child 209 765619b7cbb2
equal deleted inserted replaced
2:40db921e9601 3:7d8f916483a5
    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 
    81 The \c \@edges is just a synonym of \c \@arcs.
    81 The \c \@edges is just a synonym of \c \@arcs. The @arcs section can
       
    82 also store the edge set of an undirected graph. In such case there is
       
    83 a conventional method for store arc maps in the file, if two columns
       
    84 has the same caption with \c '+' and \c '-' prefix, then these columns
       
    85 can be regarded as the values of an arc map.
    82 
    86 
    83 The \c \@attributes section contains key-value pairs, each line
    87 The \c \@attributes section contains key-value pairs, each line
    84 consists of two tokens, an attribute name, and then an attribute value.
    88 consists of two tokens, an attribute name, and then an attribute
       
    89 value. The value of the attribute could be also a label value of a
       
    90 node or an edge, or even an edge label prefixed with \c '+' or \c '-',
       
    91 which regards to the forward or backward directed arc of the
       
    92 corresponding edge.
    85 
    93 
    86 \code
    94 \code
    87  @attributes
    95  @attributes
    88  source 1
    96  source 1
    89  target 3
    97  target 3