plantuml themes实例
<h3>并行结构示例</h3>
<pre><code class="language-plantuml">'修改分区的背景颜色
skinparam PartitionBackgroundColor lightyellow
!includeurl https://raw.githubusercontent.com/xuanye/plantuml-style-c4/master/core.puml
GREEN_ARROW
start
fork
:fork 又粗又黑;
fork again
:fork 又粗又黑;
endfork
partition 分区 {
split
:split很苗条;
split again
:split很苗条;
endsplit
}
#333:<color:#fff>改颜色</color>;
note right
例: #333:< color:#fff>改颜色</color >;
endnote
-[#black,dashed]->条状(dashed);
:箭头语法;
note right
-[#black,dashed]->条状(dashed);
-[#ccc,dotted]->点状 (dotted);
-[#gray,bold]->加粗 (bold);
endnote
stop
</code></pre>
<h3>组织结构图美化</h3>
<pre><code class="language-plantuml">
@startwbs
<style>
node {
LineThickness 0
BackgroundColor #BBDEFB
FontColor #222222
}
arrow {
LineColor #AAD8AB
}
</style>
* root
** node1
***_ boxless
** node2
@endwbs</code></pre>
<h3>amiga</h3>
<pre><code class="language-plantuml">!theme amiga
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>bluegray</h3>
<pre><code class="language-plantuml">!theme bluegray
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>blueprint</h3>
<pre><code class="language-plantuml">!theme blueprint
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>cerulean</h3>
<pre><code class="language-plantuml">!theme cerulean
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>cerulean-outline</h3>
<pre><code class="language-plantuml">!theme cerulean-outline
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>crt-amber</h3>
<pre><code class="language-plantuml">!theme crt-amber
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>crt-green</h3>
<pre><code class="language-plantuml">!theme crt-green
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>cyborg</h3>
<pre><code class="language-plantuml">!theme cyborg
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>cyborg-outline</h3>
<pre><code class="language-plantuml">!theme cyborg-outline
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>hacker</h3>
<pre><code class="language-plantuml">!theme hacker
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>lightgray</h3>
<pre><code class="language-plantuml">!theme lightgray
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>materia</h3>
<pre><code class="language-plantuml">!theme materia
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>materia-outline</h3>
<pre><code class="language-plantuml">!theme materia-outline
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>metal</h3>
<pre><code class="language-plantuml">!theme metal
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>mimeograph</h3>
<pre><code class="language-plantuml">!theme mimeograph
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>minty</h3>
<pre><code class="language-plantuml">!theme minty
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>plain</h3>
<pre><code class="language-plantuml">!theme plain
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>resume-light</h3>
<pre><code class="language-plantuml">!theme resume-light
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>sandstone</h3>
<pre><code class="language-plantuml">!theme sandstone
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>silver</h3>
<pre><code class="language-plantuml">!theme silver
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>sketchy</h3>
<pre><code class="language-plantuml">!theme sketchy
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>sketchy-outline</h3>
<pre><code class="language-plantuml">!theme sketchy-outline
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>spacelab</h3>
<pre><code class="language-plantuml">!theme spacelab
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>superhero</h3>
<pre><code class="language-plantuml">!theme superhero
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>superhero-outline</h3>
<pre><code class="language-plantuml">!theme superhero-outline
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>united</h3>
<pre><code class="language-plantuml">!theme united
start
if (condition?) then (Y)
:Yes;
endif
stop</code></pre>
<h3>所有themes名称</h3>
<blockquote>
<p>amiga
black-knight
bluegray
blueprint
cerulean
cerulean-outline
crt-amber
crt-green
cyborg
cyborg-outline
hacker
lightgray
materia
materia-outline
metal
mimeograph
minty
plain
resume-light
sandstone
silver
sketchy
sketchy-outline
spacelab
superhero
superhero-outline
united</p>
</blockquote>