Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the canon output format #269

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

tmr232
Copy link
Contributor

@tmr232 tmr232 commented Sep 14, 2024

Support the canon format, to allow formatting DOT files without performing any layout.

This works today, but the type-checker is not happy about it. So I want to add it to the Format options.

Support the [`canon`](https://graphviz.gitlab.io/docs/outputs/canon/) format, to allow formatting DOT files without performing any layout.
@@ -4,7 +4,7 @@ import load, { reset } from "../../../build/packages/graphviz/src-cpp/graphvizli
/**
* Various graphic and data formats for end user, web, documents and other applications. See [Output Formats](https://graphviz.gitlab.io/docs/outputs/) for more information.
*/
export type Format = "svg" | "dot" | "json" | "dot_json" | "xdot_json" | "plain" | "plain-ext";
export type Format = "svg" | "dot" | "json" | "dot_json" | "xdot_json" | "plain" | "plain-ext" | "canon";
Copy link
Member

@GordonSmith GordonSmith Sep 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GordonSmith GordonSmith merged commit 66bc3bb into hpcc-systems:trunk Sep 17, 2024
7 checks passed
Copy link
Member

@GordonSmith GordonSmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good - thx!

@tmr232
Copy link
Contributor Author

tmr232 commented Sep 17, 2024

Thanks for the super fast response!

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.

2 participants