Skip to content

feat: add graph command#44

Draft
stringhandler wants to merge 2 commits intoBlockstreamResearch:masterfrom
stringhandler:feat/add-simplicity-graph
Draft

feat: add graph command#44
stringhandler wants to merge 2 commits intoBlockstreamResearch:masterfrom
stringhandler:feat/add-simplicity-graph

Conversation

@stringhandler
Copy link

NOTE: This requires BlockstreamResearch/rust-simplicity#344 to be merged first.

Adds a new graph subcommand to the simplicity CLI that parses a base64-encoded Simplicity program and renders its DAG in a chosen graph format.

Usage

hal simplicity graph <program> [witness] [--sharing none|max] [--format graphviz|mermaid]
  • <program> — base64-encoded Simplicity program (required)
  • [witness] — hex-encoded witness data (optional)
  • --sharing / -s — node sharing level: none (default) or max
  • --format — output format: graphviz/dot (default) or mermaid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments