Skip to content

Add a CLI command to visualize concore workflows #190

@Sahil-u07

Description

@Sahil-u07

hey @pradeeban I had an idea that could make concore workflows easier to understand, especially for new users.

What

Right now, understanding a concore workflow usually means opening and reading the GraphML file, which can get confusing as workflows grow. I’d like to add a simple CLI command that generates a visual diagram from a GraphML workflow file.

For example:

concore visualize workflow.graphml
This would generate an image (PNG or SVG) showing how the workflow is structured.

Example output:
$ concore visualize demo/sample.graphml

✅ Generated: workflow_diagram.png
Nodes: 3
Edges: 4

The diagram would show:

  • Nodes as boxes (controller, PM, observer, etc.)
  • Edges as arrows representing data flow
  • Labels on connections where applicable (u, ym, etc.)

Why

  • Reading GraphML directly isn’t very intuitive, especially for new users
  • Visual diagrams make workflows much easier to understand and debug
  • Generated diagrams are useful for documentation and presentations
  • This would help make concore more beginner-friendly overall

How it could work

concore visualize # Generate PNG diagram
concore visualize -o name # Custom output filename
concore visualize -f svg # Generate SVG instead of PNG
concore visualize --open # Open the diagram after generating

if this sounds useful, I’d be happy to work on it.

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