The recommended method to install Dot Render, is simply using your target website marketplace page. However, if you wish not to use concrete5 internal feature, you can follow the next instructions:
This addon uses the PHP proc_open function to control the locally installed graphviz dot program.
Check the http://www.graphviz.org/to know how to install grahpviz dot program, but mainly :
If you don't have access to the server (say, you are not admin), you can still try to build a statically linked version of graphviz and install it somewhere on your website. Then configure the right path in the Dashboard Dot Render configuration page (see bellow).
To create a dot diagram (after installation and proper configuration), add the Dot Render block to a page, and enter your graphviz code.
For instance instead of this
digraph G { Hello -> World; }
Just enter this :
Hello -> World;
and that's it. You need to learn how to use Graphviz to do a proper diagram. To do so just google a bit for graphviz documentation, or try the next links :
This addon is fully configurable, to configure the template used, the command launched (including the path) or the options used to generate the graph, go to the Dot Render Configuration Page located in : http://yoursite/index.php/dashboard/system/environment/dotrender
> > > Or simply atYou can check the effects of the options you set by using the "Preview" button which will generate a default diagram in the preview section (see the screenshots)
Generated graphs can be cached to improve the rendering speed after the first access. (This is the default behaviour). Cache files are located in the default concrete5 cache folder.
Cache can be disabled in the Dot Render Cache Settings page located in http://yoursite/index.php/dashboard/system/optimization/dotrender/ This page allows you to customize the cache location, enable or disable the cache, and enventually clear the cache.
> > > or simply at :By default, (if you did not change the cache location), the dot cache is automatically cleared when concrete5 clears its own cache.
The Dot Render cache system is completely independent of the Concrete5 cache system (besides the location files are stored to).
This addon is a free addon, and does not come with free support. If you have a problem, just post a support request, we will reply when we have some time to do so.