@startuml !$foo = { "classname": "foo", "fields" : [ { "text" : "field1" }, { "text" : "field2" }, { "text" : "field3" } ] } !$foo2 = { "classname": "foo2", "fields" : [ { "text" : "field" } ] } !function $class($json) !$line="{{\nhide circle\nhide empty methods\nclass "+$json.classname+" {\n" !foreach $field in $json.fields !$line = $line + $field.text+"\n" !endfor !$line=$line + "}\n}}" !return $line !endfunction A -> B: $class($foo) B -> A: $class($foo2) @enduml
Decode URL
Submit
amiga
aws-orange
black-knight
bluegray
blueprint
cerulean-outline
cerulean
crt-amber
crt-green
cyborg-outline
cyborg
hacker
lightgray
mars
materia-outline
materia
metal
mimeograph
minty
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy-outline
sketchy
spacelab
spacelab-white
superhero-outline
superhero
toy
united
vibrant
🎉 Discover the future PlantUML Web Editor! 🚀
PNG
SVG
ASCII Art