Skip to content

useWorker warning #55

@deg

Description

@deg

I'm using graphviz-react as follows, but I still get a console warning "No script tag of type "javascript/worker" was found and "useWorker" is true. Not using web worker."

What is the correct way to fix or suppress this warning?

import { Graphviz } from "graphviz-react";
 //  ...
    <Graphviz
      className="Graph"
      options={{
        width: "100%",
        zoom: true,
        useWorker: false,
      }}
      dot={dot}
    />

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