In the following diagram, I am trying to apply style n1 to a particular node, I am able to apply style to a single line node, where as for multiline node it gives my syntax error, what is the correct syntax?
@startmindmap
<style>
mindmapDiagram {
Scale 10
LineColor Black
node {
FontName Roboto
Padding 5
Margin 15
' RoundCorner 11
LineColor black
BackgroundColor #cc33cc-#0c33ac
FontColor white
LineStyle 0
LineThickness 1
DiagonalCorner 50
}
rootNode {
Padding 10
FontStyle Italic
}
leafNode {
Padding 7
}
.n1 {
BackgroundColor #dc33cc-#0c33ac
FontStyle Italic
FontColor white
}
}
</style>
* Class Templates
**:template <typename T>
class cname{
void f1()
...
}; <<n1>>
@endmindmap