colors.gml 1.0 KB

1234567891011121314151617181920212223
  1. # this is a comment line
  2. # colors in nodes/edges using 'fill'
  3. # background color of a node is set using `fill'
  4. # border color of a node is set using `outline'
  5. # edge line color is set using `fill'
  6. graph [
  7. directed 1
  8. node [ id 0 label "n0" graphics [ fill "#f00000" ] ]
  9. node [ id 1 label "n1" graphics [ outline "#ff0000" fill "#00ff00" ] ]
  10. node [ id 2 label "n2" graphics [ outline "#00ff00" fill "#f0ff00" ] ]
  11. node [ id 3 label "n3" graphics [ outline "#0000ff" fill "#f08000" ] ]
  12. node [ id 4 label "n4" graphics [ fill "#f0000f" ] ]
  13. node [ id 5 label "n5" graphics [ outline "#f0000f" fill "#ffffff" ] ]
  14. edge [ source 4 target 0 graphics [ fill "#f000ff" ] ]
  15. edge [ source 0 target 1 label "foo" graphics [ fill "#0f0ff0" ] ]
  16. edge [ source 1 target 2 graphics [ fill "#abf000" ] ]
  17. edge [ source 2 target 3 graphics [ fill "#f0f000" ] ]
  18. edge [ source 3 target 0 graphics [ fill "#f000f0" ] ]
  19. edge [ source 3 target 0 graphics [ fill "#ff000b" ] ]
  20. edge [ source 5 target 0 graphics [ fill "#ff000b" ] ]
  21. ]