Method: NetworkX::DiGraph#graph

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

#graphHash{ Object => Object } (readonly)

Stores the attributes of the graph

Returns:

  • the current value of graph



10
11
12
# File 'lib/networkx/digraph.rb', line 10

def graph
  @graph
end