nomnoml icon indicating copy to clipboard operation
nomnoml copied to clipboard

Reciprocally related nodes don't flip their labels

Open conartist6 opened this issue 2 years ago • 1 comments

Screen Shot 2022-04-05 at 9 50 40 AM

I found the code that's meant to handle this: https://github.com/skanaar/nomnoml/blob/6262d8161687347aac9021dc5f5965d006eff652/src/layouter.ts#L145-L157

I don't think I'm likely to make the fix though, because I can't use nomnoml. I am trying to find a library which would let me print a data structure like this, and nomnoml lacks a few features I would really need, such as specifying the direction of gravity for a particular association (e.g. down vs right) and also the ability to manage instances (currently all associations are keyed on class name)

conartist6 avatar Apr 05 '22 14:04 conartist6

Thank you for the bug report. Association/label placement is one of the least nice parts of nomnoml unfortunately.

Nomnoml's philosphy is to remove configuration options from the user and instead have a core layouting that looks pretty good (measured by some arbitrary metric).

skanaar avatar Apr 07 '22 12:04 skanaar