Method: NetworkX::Graph#adj

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

#adjHash{ Object => Hash{ Object => Hash{ Object => Object } } } (readonly)

Stores the edges and their attributes in an adjencency list form

Returns:

  • the current value of adj



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

def adj
  @adj
end