Isoflow.io – Text-to-Diagram v1
One idea I've been wanting to experiment with for a while now is generating diagrams from text, and this weekend I managed to put together a demo and release it into Isoflow.io (which you can try for free at https://isoflow.io/app, just click the button with the AI icon to start generating). The idea is simple, but the results are surprisingly decent. Even though I originally built isoflow to visualise network architectures, there's nothing stopping you from going beyond networks and generating anything you're interested in (provided it can be visualised on a graph). For…
What it does
In the maker’s words, at launch
One idea I've been wanting to experiment with for a while now is generating diagrams from text, and this weekend I managed to put together a demo and release it into Isoflow.io (which you can try for free at https://isoflow.io/app, just click the button with the AI icon to start generating). The idea is simple, but the results are surprisingly decent. Even though I originally built isoflow to visualise network architectures, there's nothing stopping you from going beyond networks and generating anything you're interested in (provided it can be visualised on a graph). For example, try writing the prompt “Show me the organisational structure of the US political system” and you'll see what I mean. As a visual learner, I’m already finding this feature quite useful for gaining insight into different types of organisational structures (I've been asking questions from how Amazon is organised to how the Sinaloa Cartel is structured). The output is not yet perfect, but as a first iteration it's already feeling quite useful, and I'm sure there is a lot of improvement to be made when it comes to optimising the prompts I'm using. Now for the tech side of things. Text-to-diagram uses OpenAI's GPT API under the hood (no surprises there!). As I mentioned, I've had this experiment in mind for a while now, but it bubbled up to the surface again after I recently read about the new ‘Structured Outputs’ feature which allows you to pass a JSON schema to GPT, so that the response can be formatted to the schema. This is HUGELY useful, and made it a breeze to get GPT talking the same language as Isoflow. Once I had that, I built a simple interface that would accept a prompt. Nothing complicated, mainly just a textbox, but after generating a few diagrams, I discovered that ChatGPT wasn't great at positioning nodes on the graph. A lot of the time the nodes were too close or too far away from each other, making relationships difficult to see (and something which made the output almost useless). So as a next step, I started experimenting with auto-layout algorithms, mainly force-directed graph drawing. The force-directed algo essentially sees nodes as physical objects, and connectors as rubber bands, and runs your graph through a physics model. Eventually connected nodes start getting pulled closer together, and the result is a neater layout where everything is more logically spaced out. So now I use GPT just to generate the content, and the layout algo deals with making things look nice. I'm interested in whether others find this feature useful, especially visual learners like myself, and I'm also interested in what people are using to visualise with it. I will aim to keep this feature free as long as costs don't spiral out of control. Do let me know in the comments what you think.
Does the same job
all alternatives →More ai this month
the category →
I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.
AI · 17d ago · simedw.com
Astute▲585Automate your B2B brand going viral, with new media creators
AI · 18d ago · company-app.joinastute.com


Hey HN, Henry from Cactus here! We previously released Cactus Needle, a 14MB agentic LLM for tool call, device use, and structured extraction for phones, wearables, smart homes, small robots and microcontrollers. We got really great feedback here, and have now incorporated the suggestions to release Needle 2. The whole model is a single 14MB binary that runs a full session in 28MB of RAM; 45m parameters at 2bit compression. Needle hits 500 tokens/sec decode speed on a Raspberry Pi 5, sits between 400-1,500 tokens/sec on VR devices like Meta Quest 3S and Apple Vision Pro, and ranges…
AI · 27d ago · cactuscompute.com


Launched alongside, August 2024
the whole month →
- IY
Life & fun · 2024 · ytch.xyz



- IA
Hey there HN! We’re Joe and Stopa, and today we’re open sourcing InstantDB, a client-side database that makes it easy to build real-time and collaborative apps like Notion and Figma. Building modern apps these days involves a lot of schleps. For a basic CRUD app you need to spin up servers, wire up endpoints, integrate auth, add permissions, and then marshal data from the backend to the frontend and back again. If you want to deliver a buttery smooth user experience, you’ll need to add optimistic updates and rollbacks. We do these steps over and over for every feature we build, which can…
Dev tools · 2024 · github.com