First attempt at adding variables to graph
Mostly fixed variable graphing

Graphs now contain more accurate variables (overridden variables
are removed from parents, inherited variables are removed from
children)

Made it more testable by modularizing the graphing functions
Added tests to validate that variable inheritance is displayed
correctly.