{{#if name}}
"{{name}}" [ label = <<TABLE CELLSPACING="0">
	<TR><TD><B>{{name}}</B></TD></TR>
	{{{supersections}}}
</TABLE>>]

{{#each inherits}}
	"{{../name}}" -> "{{this}}"
{{/each}}

{{#each relationships}}
"{{../name}}" -> "{{namespace}}" [
{{#if (equals type "associated")}}
arrowhead = open
{{else if (equals type "implements")}}
arrowhead=empty, style=dashed
{{else if (equals type "dependsOn")}}
arrowhead=open, style=dashed
{{else if (equals type "aggregationOf")}}
dir=both; arrowhead=none; arrowtail=odiamond
{{else if (equals type "compositionOf")}}
dir=both; arrowhead=none; arrowtail=diamond
{{else}}
arrowhead=normal
{{/if}}
{{#if cardinalityFrom}}, headlabel="{{cardinalityFrom}}"{{/if}}
{{#if cardinalityTo}}, taillabel="{{cardinalityTo}}"{{/if}}
{{#if label}}, label="{{label}}"{{/if}}
]
{{/each}}
{{else}}
{{! Miniclasses don't have a name per se, skip them }}
{{/if}}
