Description
Currently default style information is only output for the root graph and this is done by collecting styles from a default GCSS (defined and passed around in the API for this sole purpose). When producing the output, prototype instance of graph, edge and vertex are created and then styled using the GCSS package - the result is output as the default style.
If the GCSS rules instead were written to only apply to identified instances "org.cloudsmith.graph.prototype.edge" etc. then the style rules could be defined in the same package and it would be possible to use a different set of prototypes for different graphs by using an additional containment rule.
The result is that the generated dot output could be much more compact for certain types of graphs where they currently have to have style information per instance.