Package networkx :: Package generators :: Module geometric
[hide private]
[frames] | no frames]

Module geometric

source code

Generators for geometric graphs.


Date: $Date: 2005-06-15 12:44:45 -0600 (Wed, 15 Jun 2005) $

Author: Aric Hagberg (hagberg@lanl.gov) Pieter Swart (swart@lanl.gov)

Functions [hide private]
 
random_geometric_graph(n, radius, create_using=None, repel=0.0, verbose=False, dim=2)
Random geometric graph in the unit cube
source code
 
_test_suite() source code
Variables [hide private]
  __credits__ = ''
  __revision__ = '$Revision: 1038 $'
Function Details [hide private]

random_geometric_graph(n, radius, create_using=None, repel=0.0, verbose=False, dim=2)

source code 

Random geometric graph in the unit cube

Returned Graph has added attribute G.pos which is a dict keyed by node to the position tuple for the node.