Composite Structure Diagrams?

+6 votes
asked Apr 18, 2013 in Wanted features by voelter (120 points)
Hi guys,

are you planning to add support for composite structure diagrams to PlantUML, where components and ports can be hierarchically nested? And example is here:

AFAIK this is not so simple with GraphViz, but it would be very helpful :-)


Markus (

1 Answer

+2 votes
answered Apr 18, 2013 by plantuml (295,000 points)


You should try this :

    boundary b1
    control c1
    b1 -(0)- c1

    component comp1
    interface interf1
    comp1 #~~( interf1

    :mode1actor: -0)- fooa1
    :mode1actorl: -le0)- foo1l

    [component1] 0)-(0-(0 [componentC]
    () component3 )-0-(0 "foo" [componentC]

    [aze1] #-->> [aze2]

All this is undocumented, but we are working on this...

Feedback & suggestions are welcome!



commented Apr 18, 2013 by voelter (120 points)
That is indeed very promising! The nesting of components, which is the crucial feature, is still missing, right? But it sounds like you're going to tackle this eventually.

Thank you for your answer, this looks promising!

commented Apr 29, 2013 by anonymous
wow! Very impressed, exactly what we are looking for as well! many thanks...
commented Sep 23, 2013 by p1tt1 (140 points)

but plantuml can't draw nested structures like this
commented Nov 18, 2013 by Delatour (110 points)
OK, we are not too far from a composite structure diagram, that's very nice...  (could we put "part" instead of "component" ?).
Here an another example of a composite structure diagram :
commented Nov 19, 2013 by anonymous
Hi Delatour, this sounds very very nice! Can I try it out somehow?
commented Nov 19, 2013 by Delatour (110 points)
Sorry, I was not clear but the example given in the link is something I want, not something I've done with plantUML.

By the way, mbeddr Project is a very nice project too !