DiagrammeR is an R package to create, manipulate, and visualize network graphs, flowcharts, diagrams, and more using Graphviz and Mermaid syntax. Integrates with RMarkdown and Shiny apps, supports node/edge traversal, and graph analysis algorithms, making it ideal for documenting processes, causal relationships, or data pipelines.
Features
- Build graph/network structures with programmatic node/edge manipulation
- Support graph algorithms (e.g. traversal, selection, filtering)
- Render visuals via Graphviz (grViz) or Mermaid
- Export to HTML widgets, PNG, SVG, or PDF
- Embeddable in RMarkdown and Shiny dashboards
- Configurable aesthetics (colors, labels, layout settings)
