structurizr / export

Export models and views to external formats.

Home Page:https://docs.structurizr.com/export

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How I can rewrite tags autofilling in C4PlantUMLExporter?

ArtyomIvanov opened this issue · comments

Question

Hello!
I use C4PlantUMLExporter for puml schema generation from codebase. I don't use any tags for my elements in code, but when puml file generated, there are some $tags, witch I don't want to see :)

Example

image image

Such behavior exists because
com.structurizr.model.ModelItem.getDefaultTags add default tags for each element, also each element in C4-PlantUml styles has default name
rectangle "$getPerson($label, $type, $descr, $sprite)$getProps()" $toStereos("person", $tags) as $alias $getLink($link)

Question

How can I fix such behavior?

Versions

  • com.structurizr:structurizr-core:1.10.0
  • com.structurizr:structurizr-export:1.3.0