Method: RGL::GraphVisitor#color_map

Defined in:
lib/rgl/graph_visitor.rb

#color_mapHash (readonly)

Returns a map which store the colors for each vertex.

Returns:

  • (Hash)

    a map which store the colors for each vertex



40
41
42
# File 'lib/rgl/graph_visitor.rb', line 40

def color_map
  @color_map
end