Place graph elements in g tag with transform (should have been there in the first place)