Here is an example where I include a graphviz diagram into a note of a class diagram.
I would like to have the note fit the diagram as it does for salt diagrams for example or for simple text.
But it doesn't. The note leaves an unexpected blank space between the diagram and its border.
And the blank space becomes larger with larger diagrams.
Can we remove that space?
@startuml
note bottom of MyClass
{{
digraph G {
margin=0
bgcolor="white"
node[shape=box; color=none; shape=plaintext; fontsize=12; nodesep=0.1; ranksep=0.1]
methodOne -> methodTwo
}
}}
end note
class MyClass {
<back:myGreen>methodOne()</back>
<back:myGreen>methodTwo()</back>
}
@enduml
Thank you