working on splitting up data preperation and graphing, and parsing plot functions like L(nodes)