pombreda / pydot

Automatically exported from code.google.com/p/pydot
MIT License
0 stars 0 forks source link

incorrect documentation: class Graph has option "graph_type" not "type" #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The documentation for the class Graph repeatedly and incorrectly says there's 
an option "type" 
which can be digraph or graph. It should read "graph_type".

here's the current documentation, with the errors marked by *****:

class Graph(object, Common):

    """Class representing a graph in Graphviz's dot language.

    This class implements the methods to work on a representation
    of a graph in Graphviz's dot language.

    graph(graph_name='G', *****type='digraph', strict=False, suppress_disconnected=False, 
attribute=value, ...)

    graph_name:
        the graph's name
    *****type:
        can be 'graph' or 'digraph'

Original issue reported on code.google.com by r.h.w...@gmail.com on 21 Jan 2008 at 5:44

GoogleCodeExporter commented 9 years ago
Fixed

Original comment by ero.carr...@gmail.com on 14 Feb 2008 at 10:08