MAIDR JavaScript API
    Preparing search index...

    Module adapters/graphviz

    Graphviz adapter for MAIDR.

    Makes graphs drawn by Graphviz navigable with audio, text, braille and keyboard. It reads the SVG Graphviz wrote -- from the dot command, a Quarto {dot} cell, R's DiagrammeR, or a WebAssembly build such as @hpcc-js/wasm-graphviz or viz.js in the page -- and needs neither the DOT source nor Graphviz itself.

    Call bindGraphviz once the drawings are in the page, or convert one yourself with createMaidrFromGraphviz and set the result as its maidr attribute.

    <script src="https://cdn.jsdelivr.net/npm/maidr/dist/maidr.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/maidr/dist/graphviz.js"></script>
    <script>maidrGraphviz.bindGraphviz();</script>

    References

    bindGraphviz → bindGraphviz
    renderGraphviz → renderGraphviz
    createMaidrFromGraphviz → createMaidrFromGraphviz
    isGraphvizSvg → isGraphvizSvg
    readGraphviz → readGraphviz
    GraphvizAdapterOptions → GraphvizAdapterOptions
    GraphvizCluster → GraphvizCluster
    GraphvizEdge → GraphvizEdge
    GraphvizGraph → GraphvizGraph
    GraphvizNode → GraphvizNode