Commit 2a88846e authored by Kate Isaacs's avatar Kate Isaacs
Browse files

graph_interactive docstring matches rest of

parent 13a3e3b1
......@@ -592,11 +592,15 @@ def key_label(s):
def graph_interactive(spec, interactive=True):
"""Generate an ASCII graph of the given spec.
"""Generate a graphterm ASCII graph of the given spec object.
@param spec: single spec object to be depicted
@param interactive: True if graph is interactive with curses, False if
graph is to be printed to stdout instead.
spec -- spec to graph. This only handles one spec at a time.
Optional arguments:
interactive -- True for interactive highlighting with curses
False to print static graph to stdout.
myspec = spec.copy()
nodes = myspec.index()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment