UML Composite Component

There is a way to create a UML Component graph with facets, receptacles and connections? Something like .NET Component graph.

 

I was trying something like:

graph ER {
  SuperComponent [shape=component]
  node SuperComponent {
    comp1 [shape=component]
        facet1 [shape=circle, height=0.12,width=0.12, label=""]
        facet2 [shape=circle, height=0.12,width=0.12, label=""]
    comp1 -- facet1 [label="My Facet1" fontsize=6];
    comp1 -- facet2 [label="My Facet2" fontsize=6];    
  }
}

 

Recent comments