Open VladimirAlexiev opened 11 months ago
Here's a fixed diagram for https://text-to-diagram.com/?b=plantuml&example=chess . I removed the square brackets, used long arrows for the arrows going across the cluster:
@startuml
' Actors
"Hans Niemann" as hans
rectangle "defendants" {
"Magnus Carlsen" as mc
"Play Magnus Group" as playmagnus
"Chess.com" as chesscom
"Hikaru Nakamura" as naka
mc -> playmagnus: Owns majority
playmagnus <-> chesscom: Merger talks
chesscom -> naka: Sponsoring
}
' Accusations
hans -> defendants: suing for $100M
' Offense
naka --> hans : Accused of cheating on his stream
mc --> hans : Lost then withdrew with accusations
chesscom --> hans: 72 page report of cheating
@enduml
Here is the result (which for me is rendered in github using https://chrome.google.com/webstore/detail/plantuml-visualizer/ffaloebcmkogfdkemcekamlmfkkmgkcf). I think it's quite competitive to the d2 result:
Here is a fixed diagram for https://text-to-diagram.com/?b=plantuml&example=text .
Compile error: PlantUML does not support rich text
is a very unfair statement.
The only thing I couldn't do is include quotes in the text, since that's used to delimit the text
@startuml
rectangle description as "
== Hope is a good breakfast, but it is a bad supper
* Look into my eyes and try to forget that you have a Macy's charge card!
* The **Tree of Learning** bears the noblest fruit, but noble fruit tastes bad.
There is nothing new under the sun, but there are lots of old things we don't know yet
* //Ambrose Bierce//
"
rectangle x
description -> x
@enduml
Continuing #40 , I looked at the list Features at the bottom of https://text-to-diagram.com/?b=plantuml. Here are my comments on features marked as not supported by PlantUML
<img>
that lets you use any URL as image: https://plantuml.com/creole#f42f1366d9ab93bb.True, but it has https://plantuml.com/creole which is just about the same
uml
for light mode,duml
for dark)In addition:
[foo]
in https://text-to-diagram.com/?b=plantuml&example=containers because these get rendered as "components" with an interface icon, not simple rectangles