Hacker News new | ask | show | jobs
by xdennis 994 days ago
> Maybe it's not too bad for very simple diagrams but unmanageable for anything complex.

Yeah, the problem with these sort of layout algorithms is that they don't have a sense of proportionality.

I wonder if LLM can do this better. I've tried with 5 relations from this example one and ChatGPT comes up with this:

    Place "Jolly Sailor" at point (1, 1).
    Place "Pirate" at point (2, 1).
    Place "rum" at point (3, 2).
    Place "mischief" at point (2, 0).
    Place "Marauder" at point (3, 0).
It looks okay, but I haven't checked with anything more complicated.