skanaar / nomnoml

The sassy UML diagram renderer
https://www.nomnoml.com
MIT License
2.7k stars 209 forks source link

Stacking layout and link between entities of different packages #138

Closed LukeTOBrien closed 4 years ago

LukeTOBrien commented 4 years ago

Hello there

I have recently discovered Nomnoml and I think it is great.
I used to use UMLet which I also love.

I would like to create an association between two packages.
I have two packages that I would like stacked one above the other, and I would like to associate Teacher entities with Student entities.
I can't seem to find a way to do this.

When it comes to stacking, could use CSS flexbox?

[<package>Teachers|
[Mr Toad]
[Mr Rat]
[Mr Badger]
]

[<package>Students|
[Jane]
[Bob]
[Bill]
[Anna]
]

I would of thought somekind of object reference would be ideal:

[<package>Teachers|
[Mr Toad]->[Student.Jane]
[Mr Rat]->[Student.Bob]
[Mr Badger]->[Student.Anna]
]

[<package>Students|
[Jane]
[Bob]
[Bill]
[Anna]
]

Thanks!

skanaar commented 4 years ago

Thank you! Great to hear that you like nomnoml.

Please look at discussion in issue #6 for more background about this.

LukeTOBrien commented 4 years ago

Ahh okay thanks, I didn't seee that one.
I will close this issue and contribute to that discussion, Thanks!