Skip to content

Enhance perspectives to allow style customizations beyond descriptions #36

@Midnighter

Description

@Midnighter

Description

As discussed on Slack, it would be wonderful to allow style customization in perspectives. Unlike the DSL you previewed there, it would be more natural to me to use tags that are defined on the elements, because the perspective value is intended for descriptions, the [value==bla bla bla] syntax could get awkward.

So instead of what you proposed:

model {
  softwareSystem "A" {
    perspectives {
      "Technical Debt" "1"
    }
  }

views {
  styles {
    element "Perspective:Technical Debt[value==1]" {
      background green
      color white
  }
}

I propose using tags, maybe like this:

model {
  softwareSystem "A" {
    tags "High"
    perspectives {
      "Technical Debt" "The tech debt of the A system."
    }
  }

views {
  styles {
    element "Perspective:Technical Debt:High" {
      background green
      color white
  }
}

I can see this being very useful in visualizing many different things like security, privacy, organizational units, and more.

Priority

Medium

Resolution

I'm willing to pay for this feature (add details below)

More information

I cannot promise payment, but let's discuss on Slack. If you give me a quote I can certainly discuss with my manager. I've just introduced Structurizr and there are many happy people around. So the timing is good 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions