demo/sample.lgf
author deba
Mon, 19 Jun 2006 13:44:06 +0000
changeset 2101 439b7f21ccc4
parent 1541 305ce06287c9
child 2416 261b4701405d
permissions -rw-r--r--
Improvement:

The item sets are written in the order sorted by the labels.

It solves the problem if we read a graph from a file and
then write it back then the nodes will be reversed.
It can be switched off with the LemonWriter interface.
athos@1530
     1
@nodeset
deba@1901
     2
label      coordinates_x   coordinates_y
athos@1530
     3
5       796.398 208.035
athos@1530
     4
4       573.002 63.002
athos@1530
     5
3       568.549 401.748
athos@1530
     6
2       277.889 68.476
athos@1530
     7
1       288.248 397.327
athos@1530
     8
0       102.239 257.532
athos@1530
     9
@edgeset
deba@1901
    10
                label      capacity
athos@1530
    11
4       5       6       8
athos@1530
    12
3       5       5       8
athos@1530
    13
2       4       4       5
athos@1530
    14
1       4       3       8
athos@1530
    15
1       3       2       5
athos@1530
    16
0       2       1       10
athos@1530
    17
0       1       0       10
athos@1540
    18
#This is a comment here
athos@1530
    19
@nodes
athos@1528
    20
source 0
athos@1528
    21
target 5
athos@1528
    22
@edges 
athos@1528
    23
@attributes 
athos@1541
    24
author "Attila BERNATH"
athos@1528
    25
@end