Set the graphnodes of a function to active on entry

All graphnodes in a function must be set to active and dirty when entering or re-entering a function call.
PTAL @ke-yu @lukechurch 
Done