Settings

Theme

Show HN: DAG-map – metro map visualization of a DAG

23min.github.io

3 points by pjettter 2 days ago · 8 comments · 1 min read

Reader

I searched for a library that promised the kind of layout and esthetics that I was after. This has been a recurring "issue" for me where I have something very specific in mind but can't seem to be able to mold anything existing into what I want.

Inspired from metro maps, like the London Underground, I wanted something that captures "stations" for crossings (fan-in, fan-out or processing nodes) and a left to right flow that, in my DAGs, often represent the flow of time.

Co-authored with Claude Code.

verdverm 2 days ago

Looks real pretty, I like the aesthetics too. Various click handlers would be nice, for example expand/collapse or navigate to some link.

Context, Argo Workflows DAGs (and UI generally) sucks real bad. This would be a great improvement.

  • pjettterOP 2 days ago

    Thanks! Right, I asked Claude to write a ROADMAP.md and it was super long and a lot of YAGNI. I try to work much more intentionally but I got some great ideas from it.

    I'm thinking first of my own needs and click/mouse handlers are definitely yes. It would be nice to enable popups when hovering over nodes/edges.

    • verdverm 2 days ago

      Gave it a star and a watch, looking forward to seeing the progress.

      What are you using it for?

      • pjettterOP a day ago

        I looked at CUE and lattices and I realize CUE fits right in with some other work I'm doing!

        For now I made it possible to draw Hasse diagrams. That seemed like a fun way to extend the project. I did not add any CUE examples, that seemed out of scope but who knows, there could be some applied examples in the future.

        I see that lattices are commonly drawn with straight line, but that is mostly historical (how it was done). I decided to allow bezier edges as well because, why not?

      • pjettterOP 2 days ago

        Both personal and work projects. This is personal: https://github.com/23min/FlowTime I see DAGs everywhere...

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection