Skip to content

Commit

Permalink
update for plantuml - status 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
dfeich committed Jan 12, 2022
1 parent d6187d8 commit 62451a8
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions plantuml/plantuml-babel.org
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@

#+BEGIN_SRC plantuml :file fig/wbsdiag2.png :exports both
@startwbs
' skinparam backgroundColor blue
<style>
wbsDiagram {
.pink {
Expand Down Expand Up @@ -712,7 +713,29 @@
[[file:fig/wbsdiag3.png]]


** TODO how to change font size in WBS?

Which skinparam can be used to change font size?
#+BEGIN_SRC plantuml :file fig/wbsdiag2.png :exports both
@startwbs
skinparam classFontSize 30
' skinparam backgroundColor blue
<style>
wbsDiagram {
.pink {
BackgroundColor pink
}
.your_style_name {
BackgroundColor SkyBlue
}
}
</style>
+ this is the partner workpackage <<your_style_name>>
++ this is my workpackage <<pink>>
++ this is another workpackage
@endwbs
#+END_SRC

* Preprocessing
https://plantuml.com/preprocessing

Expand Down Expand Up @@ -792,6 +815,17 @@
#+RESULTS:
[[file:fig/gradients1.png]]

* colors
The available default colors can be displayed using this snippet
#+BEGIN_SRC plantuml :file fig/avail-colors.png :exports both
@startuml
colors
@enduml
#+END_SRC

#+RESULTS:
[[file:fig/avail-colors.png]]

* Scaling
#+BEGIN_SRC plantuml :file fig/scale-sequence1.png :exports both
@startuml
Expand Down

0 comments on commit 62451a8

Please sign in to comment.