Skip to content

vsix: "Invalid host defined options" #1

@maziac

Description

@maziac

Hi,

first: this is a very helpful extension. I am about to use it in DeZog to display flowcharts.
However I've run into a problem:
DeZog is a vscode extension.
I included the dependency to graphviz-cli and everything is fine when I debug DeZog.
I.e. I can create an SVG from the digraph and can even display it in a webview.

However if I bundle DeZog into a vscode extension, a vsix file, the line

let rendered = await renderGraphFromSource({input: dot}, {format: 'svg'});

will throw an exception: "Invalid host defined options".

Maybe this has something to do with the WASM used in graphviz-cli.

Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions