Skip to content

Add Mermaid CFG Visualizer alongside DOT implementation #1377

@zyf265600

Description

@zyf265600

Background

The Checker Framework currently supports control-flow graph (CFG) visualization through the DOTCFGVisualizer, which outputs graphs in Graphviz DOT format .
While DOT is powerful, its integration with documentation platforms is limited: GitHub/GitLab Markdown does not natively render DOT, requiring additional tooling or screenshots.

Goal

Introduce a new MermaidCFGVisualizer that outputs CFGs in Mermaid syntax. Mermaid diagrams can be rendered natively in GitHub, GitLab, and many Markdown viewers, making CFGs more accessible in issues, pull requests, and documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions