Search code examples
umlclass-diagram

How to use directives in nomnoml?


I'm using nomnoml to create an UML class diagram. In the nomnoml language reference there are instructions called "directives" but I can't figure out how to use them.

How do I put directives in my nomnoml code?


Solution

  • To use directives you put them on their own line of code like this:

    #zoom: 3
    

    A directive influences the appearance of the whole diagram, it can't be used on a single element of it.