add_comment() and work in progress for the new GraphViz framework

svn: r9679
This commit is contained in:
Stéphane Charette
2008-01-02 08:43:19 +00:00
parent a8a6c017e6
commit 95496e6449
6 changed files with 282 additions and 23 deletions

View File

@@ -1587,7 +1587,7 @@ class GVDoc:
@return: nothing
"""
raise NotImplementedError
def add_link(self, id1, id2, style="", head="", tail="", comment=""):
"""
Add a link between two nodes.
@@ -1604,7 +1604,18 @@ class GVDoc:
@return: nothing
"""
raise NotImplementedError
def add_comment(self, comment):
"""
Add a comment to the source file.
@param comment: A text string to add as a comment.
Example: "Next comes the individuals."
@type comment: string
@return: nothing
"""
raise NotImplementedError
def start_subgraph(self,id):
"""
Start a subgraph in this graph.
@@ -1615,7 +1626,7 @@ class GVDoc:
@return: nothing
"""
raise NotImplementedError
def end_subgraph(self):
"""
End a subgraph that was previously started in this graph.