[[plantuml class="pretty" output="img" [@startumlclass Class@enduml]]]class Class
[[plantuml class="pretty" output="img" [@startuml{{Class}}@enduml]]]which wasn't what I wanted and the error told me I was literally getting {{Class}}, not its trancluded value.
After reading tiddlywiki.com for awhile (and with head spinning a bit, I must admit) I stumbled upon trying:
<$plantumlsource={{Class}}/>which worked and gave me encouragement. Then I tried to get fancier so I created a couple more tiddlers, PlantUmlSetup:
skinparam defaultTextAlignment center
skinparam class { BackgroundColor Azure ArrowColor Blue BorderColor Blue}skinparam stereotypeCBackgroundColor LightBlueand AllCode tiddler:
{{PlantUmlSetup}}{{Class}}and then tried:
<$plantumlsource={{AllCode}}/>which literally gave me:
Deja vu all over again. I'm hopeful a more experienced coder can get me going in the correct direction once again.
Thanks for your time and any help!
Chris
<$plantumlsource="Class AClass B"/>Class AClass B{{A}}{{B}}<$plantumlsource={{C}}/>Cheers - Chris
\define plantuml(source)
[[plantuml[
$source$
]]]
\end
\define my-diagram()
:In Macro: -left-> (LEFT)
:In Macro: -right-> (RIGHT)
:In Macro: -up-> (UP)
:In Macro: -down-> (DOWN)
\end
<$macrocall $name=plantuml source=<<my-diagram>>/>
<$macrocall $name=plantuml source={{!!field-diag}}/>
<$macrocall $name=plantuml source={{Diagram Tiddler}}/><$plantuml source=<<my-diagram>>/>
<$plantuml source={{Diagram Tiddler 1}}/>
<$plantuml source={{Diagram Tiddler 2}}/>
<$wikify name=one-diag text="{{Diagram Tiddler 1}}{{Diagram Tiddler 2}}">
<$plantuml source=<<one-diag>>/>
<$plantuml source={{Combined}}/>
<$wikify name=one-diag text="{{Combined}}">
<$plantuml source=<<one-diag>>/>{{Diagram Tiddler 1}}{{Diagram Tiddler 2}}In tid: -left-> (LEFT)In tid: -right-> (RIGHT)In tid: -up-> (UP)In tid: -down-> (DOWN)$wikify name=one-diag text="{{Combined}}">
"""<$link to="plantuml" tooltip="open docs">
[[plantuml width=64 class=pretty [
Employee -up-|> User
Client -up-|> User
Supervisor -up-|> User
Employee --> (Login)
Supervisor --> (Login)
Client ..> (Login) : NO!!!!
Supervisor --> (Create / Delete User): I am god
]]]
</$link>