Show HN: Reladraw – A diagram language where you decide where to place things
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
Show HN: Reladraw – A diagram language where you decide where to place things
Unofficial Hacker News client; not affiliated with Y Combinator.
v9v · · focus · HN ↗
jpwalsh234 · · focus · HN ↗
So, if you have a container with children, or multiple nodes off to the right of another, with links between them, adding or resizing one adjusts the rest, without re-specifying positions the way turtle graphics would require.
gandreani · · focus · HN ↗
I've been playing with pikchr quite a bit and it has containers and you can specify links relative to the container. I can picture (pun not intended) your counter-example
jpwalsh234 · · focus · HN ↗
My main objection to pikchr is that it is turtle graphics plus coordinate offsets, which to me feels like the wrong tool when I want to say "I have A to the left, and B, C, and D all right of A". I don't want to have to translate that to turtle graphic movements like saying "there's a group, draw B, move down some amount, place C, move down again, place D".
Similarly, if I'm thinking at the level of abstraction of nodes and edges and relative positions, it feels awkward to say something like this in pikchr (where the 0.2 is a guess to fiddle with):
Rather than saying in reladraw: I think it's less a matter of "reladraw can do it, but pikchr cannot". It's more like, "both can get to the same destination, but how you get there is a matter of taste and how you express your intent".For example in pikchr:
To me, it's not as clear that your intent is that you want several nodes right of A. However, in reladraw, it's clearer to me that the intent is "these things are right of A": However, that's a subjective taste thing and I could see some people liking the pikchr approach.gandreani · · focus · HN ↗
I think you're right that it's a matter of taste and that the intent is better represented by reladraw.
If I can point some personal downsides of pikchr is that there's no loops and when using macros you can't use parameters to create object labels.
For example, Triangle$1: line...
Just some thoughts in case you're looking for future inspiration for the language
jpwalsh234 · · focus · HN ↗