plantuml-stdlib / Archimate-PlantUML

PlantUML macros and other includes for Archimate Diagrams
MIT License
215 stars 57 forks source link

Nested Group of Archimate Component #38

Closed rijdz closed 2 years ago

rijdz commented 2 years ago

Hey can we have grouping by Archimate Component?

Let's say I have requirement to create catalog of many Business Services. Each Business Services consist of many Business Process.

Potherca commented 2 years ago

Hi! I am not entire sure I understand what you are asking.

Could you post an example of what you have tried, or what you expect to happen?

rijdz commented 2 years ago

I think I solved it but I forgot to post it here

This is the result for what the nested catalog that I need.

sample

And here is the code

@startuml
skinparam roundcorner 25
skinparam defaultTextAlignment center
skinparam wrapWidth 400
skinparam maxMessageSize 150
skinparam StereotypeAlignment right
left to right direction
title Core Business Services

rectangle "Strategic" <<$archimate/business-function>> #Business{
    rectangle "Corporate Strategic Planning"  <<$archimate/business-service>>#Business{
        rectangle "Strategic Intent"  <<$archimate/business-process>>#Business 
        rectangle "Ext. and Int. Analysis"  <<$archimate/business-process>>#Business 
        rectangle "Strategy and Roadmap"  <<$archimate/business-process>>#Business 
        rectangle "Initiatives & Timeline"  <<$archimate/business-process>>#Business 
        rectangle "Financial Projection"  <<$archimate/business-process>>#Business 
    }
}

@enduml
Potherca commented 2 years ago

I think I solved it but I forgot to post it here

No problem, glad you found a solution. Thank you for posting it here!

The-Lum commented 5 months ago

Hi @rijdz, @Potherca, @tvolin and all,

FYI here is a [new] wanted feature on plantuml core in order to allow 'Nested Group of Archimate Component':

Regards, Th.