Skip to content

Instantly share code, notes, and snippets.

@jeluard
Last active October 9, 2015 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jeluard/3473417 to your computer and use it in GitHub Desktop.
Save jeluard/3473417 to your computer and use it in GitHub Desktop.
Renderist hello world
@startuml
class Car
Driver - Car : drives >
Car *- Wheel : have 4 >
Car -- Person : < owns
@enduml

Hi! This is a sample of what you can achieve using renderist. Following are some diagrams using some of available syntaxes like:

  • plantuml diagrams
  • dot graphs
  • ditaa ascii art

Give it a try! Write your own gist.

@startditaa
+--------+ +-------+ +-------+
| +---+ ditaa +--> | |
| Text | +-------+ |diagram|
|Document| |!magic!| | |
| {d}| | | | |
+---+----+ +-------+ +-------+
: ^
| Lots of work |
+-------------------------+
@endditaa
@startdot
digraph foo {
node [style=rounded]
node1 [shape=box]
node2 [fillcolor=yellow, style="rounded,filled", shape=diamond]
node3 [shape=record, label="{ a | b | c }"]
node1 -> node2 -> node3
}
@enddot
@startuml
scale 400*300
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml
@leoniv
Copy link

leoniv commented Nov 21, 2013

@startuml
scale 400*300
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response

Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment