Lean4 supports custom User Widgets that are displayed in the InfoView.
ProofWidgets library uses this and makes it easy to render many visualizations, including graphs.
Here is an example, that shows the dependency graph of all constants appearing in a term:
It would be really useful to have an example script, or a #blueprint_graph command that shows the blueprint dependency graph of the current file in the InfoView panel, updating as the file changes.
Lean4 supports custom User Widgets that are displayed in the InfoView.
ProofWidgets library uses this and makes it easy to render many visualizations, including graphs.
Here is an example, that shows the dependency graph of all constants appearing in a term:
It would be really useful to have an example script, or a
#blueprint_graphcommand that shows the blueprint dependency graph of the current file in the InfoView panel, updating as the file changes.