demo/disjoint_paths_demo.lgf
author deba
Mon, 19 Jun 2006 13:44:06 +0000
changeset 2101 439b7f21ccc4
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.
     1 @nodeset 
     2 coords	label	
     3 (-20,17)	15	
     4 (39,13) 	14	
     5 (39,-11)	13	
     6 (-12,7)	        12	
     7 (25,-15)        11	
     8 (-18,-14)	10	
     9 (45,3)          9	
    10 (28,13)         8	
    11 (25,-5)         7	
    12 (1,21)          6	
    13 (3,3)           5	
    14 (3,-9)          4	
    15 (-9,15)         3	
    16 (-13,-4)        2	
    17 (-27,5)         1	
    18 @edgeset 
    19 		label	
    20 1	15	22	
    21 8	14	20	
    22 11	13	18	
    23 1	12	8	
    24 4	11	14	
    25 1	10	1	
    26 14	9	21	
    27 13	9	19	
    28 8	9	17	
    29 7	9	16	
    30 11	9	15	
    31 5	8	12	
    32 6	8	11	
    33 5	7	13	
    34 3	6	4	
    35 12	5	9	
    36 2	5	6	
    37 3	5	5	
    38 2	4	10	
    39 10	4	7	
    40 15	3	23	
    41 1	3	3	
    42 1	2	2	
    43 @nodes
    44 source 1
    45 target 9
    46 @end