t.gml 887 B

123456789101112131415161718192021
  1. # test
  2. # edge line color is set using `fill'
  3. graph [
  4. directed 1
  5. node [ id 0 label "\"n0\"" graphics [ fill "#f00000" ] ]
  6. node [ id 1 label "" graphics [ outline "#ff0000" fill "#00ff00" ] ]
  7. node [ id 2 label "\\n2" graphics [ outline "#00ff00" fill "#f0ff00" ] ]
  8. node [ id 3 label "n3" graphics [ outline "#0000ff" fill "#f08000" ] ]
  9. node [ id 4 label "n4" graphics [ fill "#f0000f" ] ]
  10. node [ id 5 label "n5" graphics [ outline "#f0000f" fill "#ffffff" ] ]
  11. edge [ source 4 target 0 graphics [ fill "#f000ff" ] ]
  12. edge [ source 0 target 1 label "foo" graphics [ fill "#0f0ff0" ] ]
  13. edge [ source 1 target 2 graphics [ fill "#abf000" ] ]
  14. edge [ source 2 target 3 graphics [ fill "#f0f000" ] ]
  15. edge [ source 3 target 0 graphics [ fill "#f000f0" ] ]
  16. edge [ source 3 target 0 graphics [ fill "#ff000b" ] ]
  17. edge [ source 5 target 0 graphics [ fill "#ff000b" ] ]
  18. ]