Adding support for multiple targets in Graph

Pretty straight forward. Multi target support was missing from Graphs.