Add graph object to painter functions
Add node tag to painted nodes

in preparation for dragging nodes