ui icon indicating copy to clipboard operation
ui copied to clipboard

Feature Request / Idea: Groups in dynamic views

Open mawid6 opened this issue 1 year ago • 0 comments

Description

Idea! Rendering software systems and groups as outlines in dynamic views, similar to other views, would be very useful. I can see that you might not want this always, however.

Example - groups in blue

The code below renders this on the web, except I have added groups in blue: request-groups-in-dynamic-views drawio

  • In this case, I have added the groups, but
  • Software system is not shown around the containers either, and that would also be very useful ( e g "Shared Account Backend Service" could/would enclose "Account API" and "Account Backend" )
workspace {
!identifiers hierarchical

    model {
        idp = softwareSystem "Identity Provider"
        group "Backend" {
            backend = softwareSystem "Shared Account Backend Service" {
                 server = container "Account Backend" {
                     -> idp "Auth"
                     idp -> this "Token"
                 }
                 api = container "Account API" {
                    -> server "Authenticate"
                    server -> this "Token"
                 }
            }
        }
        
        library = softwareSystem "Shared Library A" {
            account = container "Account components" {
                accountService = component "Lib A Account Service" {
                    -> backend.api "Authenticate"
                    backend.api -> this "Token"
                }
            }
        }
        group "Source Data Systems"{
            web = softwareSystem "Web Client" {
                -> library.account.accountService "Login"
            }
        }
    }

    views {
        component library.account {
            include *
        }
        dynamic library.account "Library-Account-Flow" {
            title "Library Account Auth flow"
            web -> library.account.accountService
            library.account.accountService -> backend.api
                backend.api -> backend.server
                    backend.server -> idp
                    idp -> backend.server
                backend.server -> backend.api 
            backend.api -> library.account.accountService
            // autolayout lr
        }
        

    }

}

Priority

I have no budget and there's no rush, please add this feature for free

More information

No response

mawid6 avatar Feb 07 '24 13:02 mawid6