The bw_graphviz shortcode uses vis.js to generate GraphViz diagrams. Here’s a very simple example.
a -> b;
- This is a lazy smart shortcode. It only delivers the jquery/vis.js file – the code that creates the diagram – when actually required.
- In order to be able to use this shortcode you need to understanding GraphViz dot language to create a Digraph – directed graph.