Skip to content

Commit 7ce016e

Browse files
authored
Merge pull request #4 from doubleSlashde/swa-ds_mindmap_style_adjustments
swa-ds_mindmap_style_adjustments
2 parents 984c732 + 813b2af commit 7ce016e

File tree

4 files changed

+69
-9
lines changed

4 files changed

+69
-9
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea
2+
*.iml
3+
.vscode

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,18 @@ Use stylings by including the theme file at the top of your code.
2929
...
3030
```
3131

32+
### Include for mind map
33+
```
34+
@startmindmap
35+
!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/puml-theme-doubleslash-mindmap.puml
36+
...
37+
```
38+
3239
## Support for the following diagrams
33-
1. Use Cases (see examples/usecase.puml): diagram to support documentation of PEOPLE and PROCESS.
34-
2. Activity (see examples/activity_model.puml): diagram to illustrate activities in a PROCESS. It can be used as an alternative to BPMN diagrams.
35-
3. System model (see examples/systemmodel.puml): diagram for a functional SYSTEM view. Represents the first two layers of a C4 model (System context and Containers)
36-
4. Data model (see examples/datamodel.puml): illustrates a DATA model with or without system specific data types. Main purpose of this model is to have a ubiquitous language for software product deveopment to avoid misunderstandings between users and developers.
37-
5. Class model (see examples/class_model.puml): The class model forms the core of the module design. The classes can be used to represent both level 3 and level 4 in the C4 model. The methods of the classes are the basis of the messages in the sequence model.
38-
6. Sequence model (see examples/systemmodel.puml): The seqence model shows the interactions of the modules from the class model.
40+
1. Use Cases (see [examples/usecase.puml](examples/usecase.puml)): diagram to support documentation of PEOPLE and PROCESS.
41+
2. Activity (see [examples/activity_model.puml](examples/activity_model.puml)): diagram to illustrate activities in a PROCESS. It can be used as an alternative to BPMN diagrams.
42+
3. System model (see [examples/systemmodel.puml](examples/systemmodel.puml)): diagram for a functional SYSTEM view. Represents the first two layers of a C4 model (System context and Containers)
43+
4. Data model (see [examples/datamodel.puml](examples/datamodel.puml)): illustrates a DATA model with or without system specific data types. Main purpose of this model is to have a ubiquitous language for software product deveopment to avoid misunderstandings between users and developers.
44+
5. Class model (see [examples/class_model.puml](/examples/class_model.puml)): The class model forms the core of the module design. The classes can be used to represent both level 3 and level 4 in the C4 model. The methods of the classes are the basis of the messages in the sequence model.
45+
6. Sequence model (see [examples/systemmodel.puml](examples/systemmodel.puml) ): The seqence model shows the interactions of the modules from the class model.
46+
7. Mind maps (see [examples/mindmap.puml](examples/mindmap.puml)): The mind map visualizes ideas and concepts in a tree-like structure.

examples/mindmap.puml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
@startmindmap mind map
2+
'!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/puml-theme-doubleslash-mindmap.puml
3+
!include ../puml-theme-doubleslash-mindmap.puml
4+
5+
caption figure 1
6+
title Linux Distributions
7+
8+
* <&flag> Debian
9+
** <&graph> LMDE
10+
** <&pulse> SolydXK
11+
** <&people> SteamOS
12+
** <&star> Raspbian with a very long name
13+
*** <s>Raspmbc</s> => OSMC
14+
*** <s>Raspyfi</s> => Volumio
15+
16+
left side
17+
18+
** <&globe> Ubuntu
19+
*** Linux Mint
20+
*** Kubuntu
21+
*** Lubuntu
22+
*** KDE Neon
23+
24+
header
25+
My super header
26+
endheader
27+
28+
center footer My super footer
29+
30+
legend right
31+
Short
32+
legend
33+
endlegend
34+
@endmindmap
Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,33 @@
11
!include https://raw.githubusercontent.com/doubleSlashde/umltheme/main/puml-theme-doubleslash-general.puml
22

33
<style>
4-
node {
4+
footer, header {
5+
FontColor DS_DARKGREY
6+
}
7+
node, legend {
58
Padding 10
69
Margin 10
710
HorizontalAlignment center
811
LineThickness 0.0
9-
BackgroundColor #D7E9F4
12+
BackgroundColor DS_LIGHTBLUE
1013
FontSize 12
14+
FontColor DS_DARKGREY
15+
LineColor white
1116
}
1217
leafNode {
13-
Fontsize 11
18+
FontColor black
19+
FontSize 11
1420
Padding 1
1521
Margin 1
1622
BackgroundColor white
23+
LineColor white
24+
}
25+
rootNode {
26+
FontStyle bold
27+
FontColor white
28+
BackgroundColor DS_BLUE
29+
}
30+
arrow {
31+
LineColor STEELBLUE40
1732
}
1833
</style>

0 commit comments

Comments
 (0)