Hierarchy of Connections

0 votes
asked Oct 10, 2019 in Wanted features by kjw

Hi is it possible to create context diagrams but being able to connect components/rectangles in a hierarchical way ?

Adding "as xxx" to a containing rectangle produces a syntax error

@startuml

 rectangle AEM #lightblue {

    rectangle "Support\n Centre & FAQ\n Pages" as faq 

    rectangle "Mobile T&C" as tnc

    rectangle "AEM Content" as content

} as aem

rectangle "Adobe Analystics" #lightblue {

    rectangle "In App tags" as tags 

    rectangle "Staff Portal" as sp

    sp->tags

} as adobe

rectangle "Customer Device" #lightblue {

    rectangle "Mobile App" as bma {

        rectangle "Adobe SDK" as adobesdk

            rectangle "MM Features" as mmf

        rectangle "Liveperson SDK" as livepsdk

    } as ma

    rectangle "Platform Secure Keys" {

        rectangle "MM Keys" as mmk

    } as keys

} as device

device<->aem : retrieve static reference/content

device.ma-->aem.tnc : lookup t&C's

devic.bma->adobe : app tagging

device.bma.adobesdk->adobe.tags : resolve tag and log

@startend

1 Answer

0 votes
answered Oct 11, 2019 by Serge Wenger Work (14,600 points)

@startuml
 rectangle AEM as aem #lightblue {
    rectangle "Support\n Centre & FAQ\n Pages" as faq 
    rectangle "Mobile T&C" as tnc
    rectangle "AEM Content" as content

rectangle "Adobe Analystics" as adobe #lightblue {
    rectangle "In App tags" as tags 
    rectangle "Staff Portal" as sp
    sp->tags

rectangle "Customer Device" as device #lightblue {
    rectangle "Mobile App" as bma {
        rectangle "Adobe SDK" as adobesdk
            rectangle "MM Features" as mmf
        rectangle "Liveperson SDK" as livepsdk
    } 
    rectangle "Platform Secure Keys" as keys{
        rectangle "MM Keys" as mmk
    } 

device<->aem : retrieve static reference/content
device.ma-->aem.tnc : lookup t&C's
devic.bma->adobe : app tagging
device.bma.adobesdk->adobe.tags : resolve tag and log
@enduml

...