WIP encapsulated graphs w/compile phase