logoalt Hacker News

Show HN: Fanfa – Interactive and animated Mermaid diagrams

74 pointsby bairesslast Thursday at 1:16 PM16 commentsview on HN

Comments

tillcarlostoday at 2:36 AM

Awesome idea! I'm trying to use it for a YouTube video.

This graph here has display issues. And the CPU is used waay too much on firefox

``` flowchart TD Step1["*Step 1: POC* (4 weeks)<br/>Vibe code for ONE tenant"]

    Step1 --> Validate & Hire

    Validate["Validation (4 weeks)"]
    Hire["Hire developer (4 weeks)"]

    Validate & Hire --> Spec

    subgraph Spec["**Step 3: Specification** (with dev)"]
        SpecStart["Parallel"] --> UI["UI prototype"]
        SpecStart --> POC["POCs of all parts"]
        SpecStart --> Arch["Architecture + stack"]
        SpecStart --> Infra["Infrastructure"]
        SpecStart --> FullSpec["Full MVP spec"]
        UI & POC & Arch & Infra & FullSpec --> SpecEnd["Done"]
    end
```
show 1 reply
frankhsutoday at 2:40 AM

I love it. I saw a comment in this thread saying that adding animation to a chart is pointless.

However in some public speeches, I've always wanted to add some cool charts to attract attention. Especially at large events, a slightly different presentation can make my stuff stand out and gain more attention.

Your work has a nice launch here in HackerNews but no upvotes on ProductHunt, so I just voted there to support you

show 2 replies
Orasyesterday at 11:51 PM

Nice! I always looked for a solution to animate diagrams as it would help a lot in visualising the workflow.

Feedback:

1. I tried different mermaid diagrams from https://mermaid.live/, and your animation is only working with classes and flowcharts. It didn't work with the sequence diagram (which is the most interesting to me).

2. It would be great to control the animation to be a sequence instead of one animation for all arrows at once. What I would like to do is show fellow devs the workflow from start to finish, according to the spec.

I appreciate that this is just a start, but it looks promising and has great potential. Good luck!

show 1 reply
mal10cyesterday at 10:52 PM

I don't understand how to use this, but it does touch on an interesting topic. I want to create interactive and animated diagrams. I normally use either Draw.io or plantuml. My goal is to better teach folks about the systems I'm building, through better visualizations. Something like IcePanel (which is way too expensive) sort of shows flows, but I'd like to have full control. Does this tool claim to support something like that? If not, are there options out there that I don't know about?

difosforyesterday at 11:32 PM

I don't see anything animated except a bit on load? I don't get it. This is on iOS Safari.

show 1 reply
larodiyesterday at 11:40 PM

I don't understand who in the world needs animated something on his diagrams.

show 1 reply
2muchcoffeemanyesterday at 10:01 PM

Can’t tell from that link. Is there a better layout engine?

fwipyesterday at 10:15 PM

Is there a way to control the mechanics of the animation? I poked around a bit and didn't see a way to configure what was sent down the arrows or how often - just some theming options.

For example, if you're visualizing a user flow, you might want rules about when new "objects" are sent down the pipe (example node rule: wait until received one item from each input), or how fast they travel, etc.

show 1 reply
yakbarberyesterday at 10:23 PM

love it!