Border Around Entire Diagram/Preview?

0 votes
asked May 6, 2021 in Bug by anonymous

I saw a reference in this forum to "DiagramBorderThickness" but it doesn't seem to be what I need. I wonder if there is an option to style the border around the whole diagram?

1 Answer

0 votes
answered May 7, 2021 by The-Lu (64,340 points)

Hello A.,

You can use skinparam:

  • DiagramBorderColor 
  • DiagramBorderThickness

as:

@startuml
skinparam Diagram {
  BorderColor blue
  BorderThickness 5
}
Bob -> Alice : hello
@enduml

See also:

If that can help,
Regards,
Th.

...