Open VladimirAlexiev opened 4 years ago
THIS.IS.AMAZING!
I'm fairly certain I won't have any time to contribute (sadly), but I just wanted to say this is awesome work!
wildcards in remove / hide / restore
ex : remove *
remove @unlinked
(component diagram)
https://forum.plantuml.net/11052/remove-unlinked-components
Added sec Your Help Needed with link to this list, the forum and slack: http://alphadoc.plantuml.com/doc/markdown/en/start#yll09vktqqw4kdu256uv. Can anyone make it more sexy and attention-drawing?
@bflorat thanks for these 2 bullets, I see they were added to the main list
@VladimirAlexiev Regarding
Can anyone make it more sexy and attention-drawing?
Maybe we should ask @arnaudroques (or other maintainers?) to pin this issue so it appears at the top of the "Issues" page?
PlantUML supports switch-case in the new Activity Diagram, but seems like it's not mentioned anywhere. It has some rendering glitches, so that's might be the case.
@pakluba added switch case ...
in Activity.
Also together
in Layout
@VladimirAlexiev I'd like to help document some features as requested in this ticket, and on https://plantuml-documentation.readthedocs.io/en/latest/this_site/from_forum.html?highlight=strictuml
Can you point me to some information on how to best contribute. Thanks .
Hello @demeesterroel,
I'd like to help document some features...
For that, you can read:
And here is the page with the same topics as this current GH page:
And then contribute... Thanks a lot. Regards.
Hi @demeesterroel ! 1.Could you merge the above list to this one? If you can't edit the issue description , add it as a comment and I'll merge
Sequence Diagrams
Mixed and embedded
{{
nested/sub diagrams }}
e.g. within note (more general than just salt within activity diagram, above #2427)Meanwhile documented (@VladimirAlexiev please check them above)
Hello @jhoehle, and all,
Thanks for the remarks.
For:
- [ ] &-notation to draw multiple arrows on the same line / time (Teoz only feature)
We can add a point from Sequence page to Teoz page. :+1:
For:
- [ ] #15011
{{
nested/sub diagrams}}
e.g. within note (more general than just salt within activity diagram, above #2427)
I started this page:
To continue to improve the doc... Regards.
I think the mentioned Salt items are documented now: https://plantuml.com/salt
Undocumented feature: using $tag
to remove and hide elements. It is documented for Component diagrams. I've just added documentation for Class diagrams (based on plantuml/plantuml#1240, waiting for approval, I think).
Other diagrams supporting $tag
in need of documentation update based on my tests:
Diagram types not supporting $tag
:
Meanwhile #11052 can be ticked off the list, it is done:
There are many plantuml undocumented features and settings captured in the forum (Q&A) Many of them also don't appear with
java -jar plantuml.jar -language
.The list comes mostly from #7095, #7140 thanks to @Anthony-Gaudino, and was complemented, categorized, and converted to a task list by @VladimirAlexiev.
NOTE: Ashley's PlantUML Doc by Ashley Engelund is a good example how the total documentation can be structured. It's created with reStructuredText (rST) and sphinx. In particular This Site describes some advanced doc generation: "
javasphinx
: I’ve written some Java code to extract information directly from PlantUML code. The extracted info is then used as input to my sphinx files. I also have some python code that creates some of the .puml files and initial rST code."Preprocessor, Includes, Sectioning
preprocessing-v2
!pragma http.proxyHost
%filename%
and%filenameNoExtension%
%PLANTUML_VERSION%
%filedate%
%filename%
and%dirpath%
variables!
and parenthesis on!ifdef
~
to escape@startuml
@startuml
filename for automatic extensions@startuml
with identifier for includes@startuml{OPTIONS}
\startXXX
instead of@startXXX
@startdef
and@enddef
@pause @unpause
@pause @unpause @continue @append
and/' ... '/
multiline comments-config
parameterremove / restore
remove *
Running and Output
command-line
-pipemap
parameter (HTML clickable maps): command-line#standard_input_output-metadata -checkmeta
)-gui
parameter accepts a path-eps:text
parameterAsciiArt output with
-ttxt
or-tutxt
latex output with
-tlatex
through Tikz[[latex://]]
SVG output with
tsvg
:Layout
plantuml/plantuml#840, advice PlantUML GraphViz Layout by Mark George at University of Otago
!pragma svek_trace
!pragma aspect
!pragma ratio
skinparam nodesep
skinparam ranksep
skinparam linetype ortho
(but see plantuml/backlog#11) andskinparam linetype polyline
together
to keep nodes next to each othernorank
arrow optionhidden
andnorank
!pragma horizontalLineBetweenDifferentPackageAllowed
skinparam minClassWidth
andskinparam sameClassWidth
layout_new_line
for disconnected partsskinparam padding
skinparam ParticipantPadding
andskinparam BoxPadding
Text and Links
Creole, Link, ASCII Math, JLatexMath
\
for multiline stuff\l
and\r
as
<plain>...</plain>
to remove default text style (egskinparam classFontStyle
)Images, Icons, Sprites, Shapes, Embellishments
DiagonalCorner
activityShape
Color
text;line;back;header
)##[style]color
of node borders: works for class and state diagramsArrows
dotted|dashed|plain|bold|hidden|norank|single|thickness|left|right|up|down
, colorbold
andplain
arrow stylesbold, dashed, dotted
Make sure all arrow types are documented on one page:
arrows arrows-2
at https://github.com/anoff/blog/tree/master/static/assets/plantuml/diagrams--(
and-0)-
arrows?->
and->?
arrowsMixed and Embedded Diagrams
allow_mixing
vsmix_usecase mix_actor...
Alternative Layoters
!pragma layout elk
replace graphviz with a completely different layouter!pragma graphviz_dot jdot
: replace graphviz with Java code-graphvizdot vizjs
: replace graphviz with JavaScript codeClass Diagrams
{field}
and{method}
to override recognition of "methods" by round parenthesescircle
(but see https://github.com/plantuml/plantuml/issues/841)skinparam groupInheritance
to merge inheritance arrows going to the same parentcard
Component Diagrams
remove @unlinked
components; component tags andhide/remove/restore $tag
Sequence Diagrams
teoz, sequence-diagram#anchors_and_duration, tag/teoz: new Teoz (vs old Puma) for sequence diagrams
hide unlinked
participants%autonumber%
autonumber inc
Activity Diagrams
repeat while
)if (...) is/equals (...) then
kill
!pragma useVerticalIf on
: drawif/elseif/else
structure verticallyswitch case ...
GOTO
skinparam activityArrowFontSize
skinparam activityArrowFontColor
joinspec
end
skinparam conditionStyle
:inside
(hexagon: default),foo1
(big diamond),diamond
(tiny diamond)alt/group
State Diagrams
<<choice>>, <<fork>>, <<join>>, <<end>>
<<choice>>
<<expansionInput>>
and<<expansionOutput>>
,<<inputPin>>
and<<outputPin>>
,<<entrypoint>>
and<<exitpoint>>
SDL and ER/IE Diagrams
SALT (UI) Diagrams
search?q=salt, tag/salt
Timing Diagrams
Gantt Charts
gantt-diagram
BPMN Diagrams
MindMap Diagrams
mindmap-diagram
WBS Diagrams
Work Breakdown Structures, Organizational Breakdown Structures (organigrams)
wbs-diagram
Graphviz Diagrams
graph