DrewX

DrewX

@DrewXMaker

I'm a chief architect of a large eclinical company. I did my PhD in extensible software architectures @ Imperial Collage. I love creating systems that scale elegantly and solve complex problems.

1
Launches
18
Upvotes received
1
Upvotes given
9
Comments

DevHunt Wrapped 2026

Launches

1 tool

Upvoted

1 tool

Comments

9 comments
  1. DrawMode

    Commented on DrawMode · Nov 23, 2026

    i added the feature you suggested about keeping the layout when roundtripping mermaid and plantuml. works well. turn this on by setting extended to true in the experimental panel of the preferences under the avatar on the top right. i'll test it more tomorrow, but it works well. it will be in the desktop and web versions in about an hour. here's an example showing the drawmode stuff at the end of a mermaid example... --- classDiagram class Animal { +int age +String gender +isMammal() +mate() } class Duck { +String beakColor +swim() +quack() } class Fish { -int sizeInFeet -canEat() } class Zebra { +bool is_wild +run() } Duck --|> Animal Fish --|> Animal Zebra --|> Animal note for Duck "can fly can swim can dive can help in debugging" %% drawmode-extended v1 · DrawMode's layout and style — Mermaid ignores these lines %% {"drawmode":1,"category":"Class diagram","shapes":5,"links":4} %% {"el":"Animal","kind":"class","i":0,"sig":"6dc7d5d5","at":[1157,742]} %% {"el":"Duck","kind":"class","i":1,"sig":"64d12e25","at":[933,906],"p":{"color":3}} %% {"el":"Fish","kind":"class","i":2,"sig":"d39b7841","at":[1157,907]} %% {"el":"Zebra","kind":"class","i":3,"sig":"6f3ef4e2","at":[1157,604],"p":{"color":5}} %% {"el":"can fly can swim can dive can help in debugging","kind":"note","i":4,"sig":"","at":[956,783]} %% {"link":["Duck","Animal"],"kind":"inheritance","i":0,"sig":""} %% {"link":["Fish","Animal"],"kind":"inheritance","i":1,"sig":""} %% {"link":["Zebra","Animal"],"kind":"inheritance","i":2,"sig":""} %% {"link":["can fly can swim can dive can help in debugging","Duck"],"kind":"note-link","i":3,"sig":""}

  2. DrawMode

    Commented on DrawMode · Nov 22, 2026

    added the long answer above in a different comment, lmk if it makes sense. i need to write up an architecture doc on this thing, it's pretty remarkable. i managed to hit the right notes on the drawmode architecture imo and i keep finding new configurations. i have done a few of these tools at scale now, including one for my phd about 20 years ago, and drawmode is easily the most flexible

  3. DrawMode

    Commented on DrawMode · Nov 22, 2026

    ah that's a really interesting idea, and really easy for me to do - i know mermaid allows uuids. but i worry that the resultant mermaid would look super ugly. i might make it an option then roundtripping would be complete... i'll add it later today and let you know! . e.g. flowchart LR 550e8400-e29b-41d4-a716-446655440000["Process data"]

  4. DrawMode

    Commented on DrawMode · Nov 22, 2026

    here's an example of me asking deepseek about a book i vectorized: https://drawmode.ai/assets/agent-tab-deepseek.webp . for the gallery feature, we use it internally to get our created diagrams to conform to company standards.

  5. DrawMode

    Commented on DrawMode · Nov 22, 2026

    > The vectorized personal gallery feature is the one I want to try first . are you referring to the fact you can publish a showcase and mark it as a style guide to follow? if so, it applies when you make a new diagram or ask it to refresh an old diagram. so if you update the style guide, you will have to ask the diagrams to be refreshed. it's easy enough, you can literally just do it in one prompt like "update all my diagrams to the new styleguide i just published" . another feature you could be referring to - vectorized docs (including images) as part of your library. these docs are available to the AI / MCP as RAG essentially. the guidance tells the MCP that there is a library and you can look up the titles and search in them using embedding. so you can vectorize entire books and it basically can refer to them and design using their guidance, it's quite amazing. i vectorized the clean architecture books, and i say stuff like "make me an architecture in the clean style using this domain diagram i just edited". i vectorize my phd also so i can ask it for info.

  6. DrawMode

    Commented on DrawMode · Nov 21, 2026

    > mostly because architecture diagrams usually go stale the week after someone draws them . all it takes is a prompt like "refresh this diagram". you can also put notes on the diagram and the agent will take them into account. . > When an agent changes the model, does the change land straight in the diagram, or can a person see it as a proposed edit and accept or reject it first? . you see it immediately but there's a ledger which highlights the changes (the delta icon in the toolbar), and each agent has its own undo/redo stack, so just ask it to undo. or ask it to copy the diagram first, and highlight the changes from the other diagram visually. it's very flexible, doesn't prescribe a workflow. . > And on Mermaid and PlantUML... does the manual layout survive somewhere, or is it lost on the way out? . ah unfortunately it's lost. i don't believe there a way in mermaid to specify location manually, so it goes back to using graphviz. if you find a way to specify coords in mermaid, lmk because it seems to have very rigid ideas on placement.

  7. DrawMode

    Commented on DrawMode · Nov 21, 2026

    > When two people edit the same diagram in a branch and merge, does DrawMode resolve the layout itself, or does it fall back to a manual choice? . quick summary: --- the collaboration mechanism works by exchanging diagram deltas with only the changed fields for each shape and a timestamp. if 2 people adjust a single shape, e.g. A changes the name and color, and B changes the location then when you are collaborating in real-time, then you will get the merged shape with the new name, color and location. if A changes the name and B changes the name of a shape, then the last timestamp wins. ... this same mechanism is used for Git. changes to a diagram in one branch are stored as deltas in a jsonl file against each diagram in your repo, with a git config file setting automerge to true. this file is append only. when you merge, the file just gets the extra lines from the other branch appended, and it all works seamlessly. by definition you can't get a git merge issue. --- - as for making sure the diagram structure is always correct - 2 people editing the same diagram across branches is like 2 people collaborating in real-time, only they don't see the changes the other makes in real-time, instead you see collaboration changes once you merge, but it's the same identical concept. it uses tombstones for deletion. by definition you can't get diagram errors. - the delta approach also form the basis of undo/redo as well. it's very elegant. every user and agent has their own undo redo stack, that works even as you combine changes with multiple users in real-time. it's fun to watch multiple users edit the same diagram and shapes and then undo/redo, works well. (it's fun to switch between branches with the tool open and see it instantly show the diagrams from the commit) - this is not full CRDT, but it's like 90% of the power with 10% of the complexity - for performance : I've tested this on the desktop with 10k diagram changes, it maybe adds 10ms to diagram load, so no big problem. also if you are not working in branches, just baseline and turn off merging in the tool, and it no longer uses the jsonl files and is a tiny bit faster. - further architectural note - the underlying architecture is very flexible. so using deltas, the tool allows you to edit in 1 git branch on your desktop but then share your current diagrams with a user on the web, they are literally editing then in a way which is stored in your repo as jsonl also. so the delta approach basically gives a whole set of capabilities i have been chasing for years.

  8. DrawMode

    Commented on DrawMode · Nov 21, 2026

    ah good question. merge friendly is a feature that has eluded me for 25 years of building these tools, so finding such an elegant solution surprised me. whoops, sorry, pressed enter too soon, let me elaborate in the next comment

  9. DrawMode

    Commented on DrawMode · Nov 12, 2026

    Keeping architecture diagrams up‑to‑date and usable by AI assistants is tough. DrawMode lets you draw UML, C4, Mermaid, PlantUML and many other diagram types in a collaborative editor that agents can read and modify via MCP. Analyze your system with a single prompt. Change the architecture and direct the agents. It works on web or desktop and supports Git merges of complex diagrams. I'd love your thoughts on the workflow 😊

Trending this week