Coverage for Adifpy/visualize/graph_tree.py: 83%
6 statements
« prev ^ index » next coverage.py v6.5.0, created at 2022-11-22 19:44 -0500
« prev ^ index » next coverage.py v6.5.0, created at 2022-11-22 19:44 -0500
1"""Implements visualization of computational graph"""
2import matplotlib
3from Adifpy.construct.function_tree import FunctionTree
6class GraphTree():
7 """A display of a presentable representation of a computation graph."""
9 def init(self):
10 pass
12 def draw(self, tree):
13 """Graph a computational graph
15 Args:
16 tree: a FunctionTree
18 Returns:
19 A matplotlib graph of the tree
20 """