![]() Configure your Graphviz input format (found in admin/settings/filters/list) such that the path of PEAR::Image_GraphViz package is set to the full path of the graphviz_filter module.Expand the package to the graphviz_filter module folder for example.If you don't have control over your host, here's how to manually install Image_GraphViz: In Linux, you might need to prepend `sudo`. Install this package by typing: pear install Image_GraphViz Not required for the core filter module, but required for the application sub-modules. If the command is not found, you will need to troubleshoot as described in the documentation below. Ensure that the Graphviz tools are on the system PATH by opening a console and typing:.Set Apache to find the newly-installed commands by appending to the file /Applications/MAMP/Library/bin/envvars: Mac OS X + MAMP: Download the latest version.Thanks to varienne for the great documentation (in the Resources section below)! REQUIREMENTS & INSTALLATION Graphviz package For example, one could create a visual taxonomy tree with nodes hanging from the terms, and each visual node would be clickable (using the URL Graphviz attribute) to point to the actual Drupal node. ![]() A particularly exciting application is to create an input format consisting of PHP code followed by Graphviz Filter, thereby allowing one to write code that outputs a DOT file, which is then rendered to HTML. ![]() It's useful to quickly create graphs dynamically from within Drupal nodes. Graphviz Filter is a fun little filter that treats input text as Graphviz DOT syntax, converts it using Graphviz tools to the requested format(s) and renders it in HTML.
0 Comments
Leave a Reply. |