plantuml / plantuml

Generate diagrams from textual description
https://plantuml.com
Other
9.73k stars 881 forks source link

document Undocumented plantuml features #261

Open VladimirAlexiev opened 4 years ago

VladimirAlexiev commented 4 years ago

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

Running and Output

command-line

AsciiArt output with -ttxt or -tutxt

latex output with -tlatex through Tikz

SVG output with tsvg:

Layout

plantuml/plantuml#840, advice PlantUML GraphViz Layout by Mark George at University of Otago

Text and Links

Creole, Link, ASCII Math, JLatexMath

Images, Icons, Sprites, Shapes, Embellishments

Color

Arrows

Make sure all arrow types are documented on one page:

Mixed and Embedded Diagrams

Alternative Layoters

Class Diagrams

Component Diagrams

Sequence Diagrams

teoz, sequence-diagram#anchors_and_duration, tag/teoz: new Teoz (vs old Puma) for sequence diagrams

Activity Diagrams

State Diagrams

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

Potherca commented 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!

bflorat commented 4 years ago
VladimirAlexiev commented 3 years ago

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

Potherca commented 3 years ago

@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?

pakluba commented 3 years ago

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.

VladimirAlexiev commented 2 years ago

@pakluba added switch case ... in Activity. Also together in Layout

demeesterroel commented 2 years ago

@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 .

The-Lum commented 2 years ago

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.

VladimirAlexiev commented 2 years ago

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

  1. I'd guess a decent percent of the items are already documented. If you stumble upon such, please mark them as done
  2. alphadoc does not respond for me. Furthermore, doc pages (eg. https://plantuml.com/activity-diagram-legacy) don't show edit links. @arnaudroques , what's up?
    • If Arnoud does not respond soon, please open a separate issue
jhoehle commented 1 year ago

Sequence Diagrams

Mixed and embedded

Meanwhile documented (@VladimirAlexiev please check them above)

The-Lum commented 1 year ago

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.

xeruf commented 1 year ago

I think the mentioned Salt items are documented now: https://plantuml.com/salt

BenceSzalai commented 1 year ago

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: