Yt-Dlp Sequence Diagrams

(app.ilograph.com)

69 points | by billyp-rva 2 hours ago

5 comments

  • meindnoch 1 hour ago
    Auto-generated sequence diagrams are almost always useless. This one is no different.
    • chongli 2 minutes ago
      Why are people upvoting this? I thought I was missing something.
    • bt1a 59 minutes ago
      "Auto-generated"? As in... a defined translation from one abstraction layer to another? Disagree
      • Bjartr 5 minutes ago
        As in not authored by a human who knows which details are important and which are noise for a given level of abstraction.
      • perching_aix 15 minutes ago
        A mechanistically generated diagram, i.e. a program reading in something and then emitting a diagram, following a specific algorithm.

        > a defined translation from one abstraction layer to another

        A solution like the aforementioned cannot reliably present a view with a raised level of abstraction, as that necessitates either making unsound assumptions, or being provided with hints (which can be wrong or expire). Just like code (because they are code).

        And so if this is indeed just a rote visualization like that, sticking to the same level of abstraction (thereby not encountering this issue), then they stipulate it is "almost certainly useless, just like they usually are".

        I personally find this agreeable, but then I rarely find diagrams particularly illuminating in general, so...

  • felooboolooomba 59 minutes ago
    Arrows need to be thicker. "Bold" doesn't work. Nitpick: "bold" doesn't really make sense in opacity settings.
  • albert_e 1 hour ago
    is there a "format" of describing an architetcure/design in such a way that it lens itself to such visualization?
  • itsfarseen-1 1 hour ago
    How was this created?
    • billyp-rva 1 hour ago
      Hi, author here. The app itself (Ilograph[0]) is fairly old; its first ShowHN was in 2019.

      These particular yt-dlp diagrams were an experiment in getting meaningful sequence diagrams from a code repo using Claude. If you open the black tab on the left, you can see the source of the diagrams. Claude was able to generate most of this, albeit with a good amount of back-and-forth to get the details right, plus some manual tweaking in the end.

      [0] https://www.ilograph.com

      • embedding-shape 1 hour ago
        Kind of despised the way you didn't even let me see a preview of my own created graph without having to signup, and the signup prompt didn't show up until I fixed the mistakes in the YAML. So I pasted something (generated), spent some minutes fixing the mistakes, then get hit with a signup prompt, before being able to see the graph... Just be upfront with the signup requirement, don't let me edit anything, if you're gonna gate it like that.
        • billyp-rva 45 minutes ago
          Thanks for the heads up; that shouldn't have been happening. Please try again.
  • mike_hock 46 minutes ago
    Hey guys, look at what I didn't make. I paid money to have someone/something else do it.