Code Monkey home page Code Monkey logo

Comments (2)

VladimirAlexiev avatar VladimirAlexiev commented on May 19, 2024

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:

image

from text-to-diagram-site.

VladimirAlexiev avatar VladimirAlexiev commented on May 19, 2024

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

from text-to-diagram-site.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.