Package pygraphlib :: Module pygraph
[show private | hide private]
[frames | no frames]

Module pygraphlib.pygraph

Base Graph class
Classes
DGraph  
UGraph Undirected graphs.

Exceptions
GraphException Custom exception to signal exceptions coming from this module

Function Summary
  from_file(file_name, undirected, **kwargs)
Creates a graph from a file containing head, tail tuples
  from_list(edge_list, undirected, **kwargs)
Creates a graph from a list containing head,tail tuples
  to_file(graph, file_name)
Creates a file containing the head, tail tuples of the graph
  to_list(graph)
Transforms a graph into a list containing head,tail, weight tuples pairs

Function Details

from_file(file_name, undirected=False, **kwargs)

Creates a graph from a file containing head, tail tuples

from_list(edge_list, undirected=False, **kwargs)

Creates a graph from a list containing head,tail tuples

to_file(graph, file_name)

Creates a file containing the head, tail tuples of the graph

to_list(graph)

Transforms a graph into a list containing head,tail, weight tuples pairs

Generated by Epydoc 2.1 on Wed Jan 5 09:38:28 2005 http://epydoc.sf.net