generates the dot code for a subgraph (per construct)
dot_subcomponent_mm(index, model, theme)
index
the index of the construct
model
the model to use
theme
the theme to use