A plugin to provide GraphViz functionality for WordPress sites.
| Author: | DeBAAT (profile at wordpress.org) |
| WordPress version required: | 5.0 |
| WordPress version tested: | 6.2.9 |
| Plugin version: | 1.5.1 |
| Added to WordPress repository: | 29-08-2013 |
| Last updated: | 23-07-2023
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 80 |
| Rated by: | 3 |
| Plugin URI: | http://www.de-baat.nl/WP_Graphviz |
| Total downloads: | 3 623 |
| Active installs: | 50+ |
![]() Click to start download |
|
GraphViz is a powerful tool for visualising network and tree structures that connect objects.
This WordPress plugin provides a shortcode mechanism to create GraphViz graphics within blogs, using the shortcode mechanism.
It’s working is based on the viz.js code as provided by Mike Daines:
https://github.com/mdaines/viz.js
Special thanks goes to chrisy as author of TFO Graphviz, e.g. for providing the inspiration for this readme:
https://wordpress.org/plugins/tfo-graphviz/
How to use WP GraphViz
The shortcode syntax is:
[wp_graphviz <options>]
<DOT code>
[/wp_graphviz]
Where <options> is anything from this list. All are entirely optional:
-
id="<id>"Provides the identifier used to link the generated image to an image map. If you use the
simpleoption then it also provides the name of the generated DOT graph container (since GraphViz uses this to generate the image map). If not given then an identifier is generated with the formwp_graphviz_Nwhere N is an integer that starts at one when the plugin is loaded and is incremented with use. -
output="<png|gif|jpg|svg>"Indicates the desired image format. Defaults to
png. -
simple="yes|no"The
simpleoption provides a very basic DOT wrapper around your code such that the following is possible:[wp_graphviz simple="yes"] a -> b -> c; [/wp_graphviz]The generated code would look like:
digraph wp_graphviz_1 { a -> b -> c; }See the
idoption for a description of where the name of thedigraphcomes from.simpledefaults tono. -
title="<title>"Indicates the title of the image. This is used in the
altandtitleattributes of the image reference. This defaults to an empty string. Note that image maps may indicate atitlestring which will appear in tool-tips.
Screenshots
FAQ
ChangeLog

