# HG changeset patch # User Jeff Hammel # Date 1355367488 28800 # Node ID 4bed1424bb3f8e6ce4f30e95674a31ca2d1014f6 # Parent 9e173648d848665eaca4501e2d514c8e504571f9 more notes to self diff -r 9e173648d848 -r 4bed1424bb3f wsgraph/model.py --- a/wsgraph/model.py Wed Dec 12 18:54:59 2012 -0800 +++ b/wsgraph/model.py Wed Dec 12 18:58:08 2012 -0800 @@ -1,8 +1,16 @@ + +import sys from abc import abstractmethod from copy import deepcopy from utils import isiterable class Graph(object): + """ + abstract base class for WSGraph model of a graph + + WSGraph is interacted with by implementing + wsgraph.model.Graph object for a desired interface + """ @abstractmethod def node(self, name, **values): @@ -109,4 +117,4 @@ raise NotImplementedError # TODO: CLI entry point to convert from one model to another -# def main() +# def main(args=sys.argv[1:]):