c

cortex-plugin-diagram

ESM
v1.0.0MIT

Official CortexPrism plugin

0.00CortexPrism
contentcortex-plugindevelopmentesmgenerationmedia

Install Command

$ cortex plugin install marketplace:cortexprism.io/plugins/cortex-plugin-diagram
Website RepositoryLicense: MITEntry: mod.ts

Configuration

Plugin Type
ESM
Entry Point
mod.ts
License
MIT

Capabilities

toolsfs:write

Tags

contentcortex-plugindevelopmentesmgenerationmedia

Statistics

Downloads
0
Rating
0.0
/ 5.0
Version
v1.0.0
Published
June 15, 2026

Reviews (0)

No reviews yet. Be the first to rate this plugin!

README

Cortex Plugin: Diagram & Whiteboard

Generate flowcharts, sequence diagrams, architecture diagrams, and mind maps from natural language. Built-in Mermaid template library.

Installation

cortex plugin install github:CortexPrism/cortex-plugin-diagram

Tools

diagram_generate

Generate a diagram from a natural language description.

  • description (string, required) — What the diagram should depict
  • diagram_type (enum, required) — Type: flowchart, sequence, class, er, mindmap, gantt, architecture, pie
  • output_format (enum, default: "mermaid") — Output: mermaid, png, svg, excalidraw
  • title (string, optional) — Diagram title

diagram_from_code

Generate a diagram from source code structure.

  • code (string, required) — Source code to analyze
  • diagram_type (enum, required) — Type: class, sequence, architecture
  • language (string, required) — Programming language

diagram_edit

Edit an existing diagram using natural language.

  • diagram_source (string, required) — Mermaid or Excalidraw source
  • edits (string, required) — Natural language description of changes

diagram_export

Export a diagram to a different format.

  • diagram_source (string, required) — Diagram source code
  • format (enum, required) — Output format: png, svg, pdf, mermaid, excalidraw

diagram_list_types

List all supported diagram types with descriptions.

Supported Diagram Types

TypeDescription
flowchartVisualize processes and decision trees
sequenceShow component interactions over time
classModel object-oriented class hierarchies
erDesign entity-relationship schemas
mindmapOrganize ideas in a radial hierarchy
ganttPlan project timelines and dependencies
architectureMap system components and connections
pieDisplay proportional data distributions

Configuration

KeyTypeDescription
defaultTypeselectDefault diagram type
defaultFormatselectDefault output format: mermaid, png, svg
themeselectColor theme: default, forest, dark, neutral

Development

deno task test
deno fmt
deno lint

License

MIT

Published June 15, 2026 · Updated June 15, 2026