Method: NetworkX::Graph#graph

Defined in:
lib/networkx/graph.rb,
lib/networkx/graph.rb

#graphHash{ Object => Object } (readonly)

Stores the attributes of the graph

Returns:

  • (Hash{ Object => Object })

    the current value of graph



7
8
9
# File 'lib/networkx/graph.rb', line 7

def graph
  @graph
end