gui/graphocska.lgf
author deba
Mon, 03 Apr 2006 09:45:23 +0000
changeset 2031 080d51024ac5
parent 1581 9bb83c7f479b
permissions -rwxr-xr-x
Correcting the structure of the graph's and adaptor's map.
The template assign operators and map iterators can be used for adaptors also.

Some bugfix in the adaptors

New class SwapBpUGraphAdaptor which swaps the two nodeset of the graph.
     1 @nodeset
     2 label	coordinates_x	coordinates_y data
     3 1	230	-80	1.123
     4 2	230	100	3.234
     5 3	120	-80	5.345
     6 4	120	100	7.456
     7 5	20	100	9.567
     8 6	20	-80	11.678
     9 7	-40	10	13.789
    10 8	-100	100	15.890
    11 9	-100	10	17.901
    12 10	-100	-80	19.012
    13 11	-200	-80	21.000
    14 12	-200	10	23.001
    15 13	-200	100	25.003
    16 14	-300	100	27.004
    17 15	-300	-80	29.9999
    18 
    19 @edgeset
    20 	        cap	map1	map2	map3	map4
    21 15	14	1	21	111	231	3
    22 14	13	2	22	112	232	6
    23 13	12	3	23	113	233	9
    24 13	8	4	24	114	234	12
    25 12	11	5	25	115	235	15
    26 12	9	6	26	116	236	18
    27 11	10	7	27	117	237	21
    28 10	9	8	28	118	238	24
    29 10	7	9	29	119	239	27
    30 9	8	10	30	120	230	30
    31 7	6	11	31	121	241	33
    32 6	5	12	32	122	242	36
    33 6	3	13	33	123	243	39
    34 5	4	14	34	124	244	42
    35 4	3	15	35	125	245	45
    36 3	2	16	36	126	246	48
    37 2	1	17	37	127	247	51
    38 
    39 @end