write Subgraphs after default styles
apply Node and Edge labels
apply Node shapes
implement arrowhead and arrowtail support