This post explains how to convert a parent-child tree structure into nodes and edges using Clojure and Meander, for use with React Flow.