Ask HN: Anyone use a code to mindmap/flowchart tool?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • mermaid

    Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown

  • markmap

    Build mindmaps with plain text

  • markmap: markdown + mindmap: https://markmap.js.org/

    On why code LLMs should be trained on the edges between tests and the code that they test, that could be visualized as a mindmap DAG with cycles

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • nomnoml

    The sassy UML diagram renderer

  • chatcraft.org

    Developer-oriented ChatGPT clone

  • Sourcetrail

    Discontinued Sourcetrail - free and open-source interactive source explorer

  • I wish something existed in this space. I used Coati Software's Sourcetrail for a couple of years. Unfortunately it was discontinued. It was a wonderful piece of software that indexed a code repository, and exposed an interface to explore it interactively. At least for me, it significantly improved the understanding and legibility of code.

    The code is in an archived state (https://github.com/CoatiSoftware/Sourcetrail). Searching for the software on Google shows some screenshots.

  • django-extensions

    This is a repository for collecting global custom management extensions for the Django Framework.

  • django_extensions/utils/dia2django.py: https://github.com/django-extensions/django-extensions/blob/...

    django_extensions/management/modelviz.py:

  • viewflow

    Reusable workflow library for Django

  • https://github.com/django-extensions/django-extensions/blob/...

    viewflow supports BPMN: https://github.com/viewflow/viewflow

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • cookbook

    Sample projects for viewflow and django-material (by viewflow)

  • https://github.com/viewflow/cookbook/blob/main/guardian_perm...

    Wikipedia mentions security concerns with low-code and no-code apps; and it's rare to impossible for a tool to support round-trip from code -> diagram UI -> code. And the test for isomorphism or functional equivalenve after normalization.

    https://news.ycombinator.com/item?id=39139198 :

    > All program evolution algorithms tend to produce bloated, convoluted, redundant programs ("spaghetti code"). To avoid this, MOSES performs reduction at each stage, to bring the program into normal form. The specific normalization used is based on Holman's "elegant normal form", which mixes alternate layers of linear and non-linear operators. The resulting form is far more compact than, say, for example, boolean disjunctive normal form. Normalization eliminates redundant terms, and tends to make the resulting code both more human-readable, and faster to execute.

    "Elements of an expert system for determining the satisfiability of general Boolean expressions" (1990)

  • tree-sitter-codeviews

    Extract and combine multiple source code views using tree-sitter

  • You might be able to do it with https://github.com/IBM/tree-sitter-codeviews - though the screenshot in the readme is in much more granular detail than class/ER diagram.

    I'd be surprised if there isn't a nice way to do this with tree-sitter or LSP, not to mention some language-(nostic? ..theist?! Not language-agnostic) ways.

  • pyan

    Static call graph generator. The official Python 3 version. Development repo.

  • Are you looking for something like a call graph?

    There's pyan3 [1] which although doesn't support python 3.7+, I've still had luck with v1.0.4 which works better for me than its most recent version with python 3.11, but there can be some weird issues though depending on your code style.

    A quick search also turned up crabviz [2] which has support for more languages than just python.

    [1] https://github.com/Technologicat/pyan

    [2] https://github.com/chanhx/crabviz

  • crabviz

    🦀 A LSP-based interative call graph generator

  • Are you looking for something like a call graph?

    There's pyan3 [1] which although doesn't support python 3.7+, I've still had luck with v1.0.4 which works better for me than its most recent version with python 3.11, but there can be some weird issues though depending on your code style.

    A quick search also turned up crabviz [2] which has support for more languages than just python.

    [1] https://github.com/Technologicat/pyan

    [2] https://github.com/chanhx/crabviz

  • excalidraw

    Virtual whiteboard for sketching hand-drawn like diagrams

  • I was happy to find out recently that there is a way to make Mermaid diagrams WYSIWYG / drag and drop editable that the open source https://excalidraw.com has and did I mention it's open source!? With a LLM, you can go full loop back to Mermaid again after a few rounds of manual editing. "What a time to be alive!"

  • flowchart-fun

    Easily generate flowcharts and diagrams from text â¿»

  • https://flowchart.fun recently helped a lot with a project.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts