Initialize graph with container to draw itself into, versus the graph element itself