Add type for generating graph elements
Align whitespace
Generate graph element instantiation