FortGraph is a lightweight toolkit for generating and exploring dependency graphs for Fortran codebases. The project was created to address the limited availability of open-source tools for parsing, visualizing, and understanding the structure of Fortran software.
It consists of two independent components:
FortGraph.html in a browser to get started with the interactive workspace (or use this link to access the online version).fortran_to_workflow.py to parse Fortran source files and generate a JSON dependency graph that can be loaded into FortGraph.html.The Python parser has no third-party dependencies, and the viewer does not require a backend server.
USE dependencies,USE ... ONLY: dependencies,CALL relationships,USE blocks in the viewer, including USE ... ONLY: statements, multiline continuations, and inline-comment stripping.USE and ONLY: edges in Minimal mode.click on the panels to zoom.