Changes between Version 52 and Version 53 of GraphvizPlugin
- Timestamp:
- Jan 12, 2017, 9:16:23 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GraphvizPlugin
v52 v53 9 9 This is a plugin that allows the dynamic generation of diagrams by [http://www.graphviz.org/ Graphviz] programs. The text of a wiki page can contain the source text for Graphviz and the web browser will show the resulting image. 10 10 11 For examples, see below. 11 For example, add the following lines to a wiki page: 12 13 {{{ 14 {{{ 15 #!graphviz 16 digraph G {Hello->World->Graphviz->Rules} 17 }}} 18 }}} 19 20 and that would produce an image as follows: 21 22 [[Image(first-example.png)]] 23 24 Note that you can insert TracLinks like this: 25 {{{ 26 {{{ 27 #!graphviz 28 digraph G { 29 rankdir = "LR" 30 GraphvizPlugin [ URL=GraphvizPlugin ] 31 Trac [ 32 URL="http://trac.edgewall.org/" 33 fontcolor=red 34 ] 35 GraphvizPlugin -> Trac 36 } 37 }}} 38 }}} 39 40 This produces an image like this, but with clickable nodes (note that nodes aren't actually clickable in this example): 41 42 [[Image(second-example.png)]] 43 44 More examples at: http://www.graphviz.org/Gallery.php 12 45 13 46 == Bugs/Feature Requests … … 19 52 [/newticket?component=GraphvizPlugin new ticket]. 20 53 21 Be sure to mention which version of Trac and which version of the plugin you are using. If the version number ends with `dev`, then please also specify the ''changeset number'' corresponding to the version you are using.54 When creating a new ticket, be sure to mention which version of Trac and which version of the plugin you are using. If the version number ends with `dev`, then please also specify the ''changeset number'' corresponding to the version you are using. 22 55 23 56 [[TicketQuery(component=GraphvizPlugin&group=type,format=progress)]] … … 25 58 == Download 26 59 27 Or you can download the zipped source from [source:graphvizplugin here]. Note that this contains everything regarding the Graphviz plugin including tagged releases and branches. The 0.10 directory contains the latest released version of the code for Trac 0.10 and the 0.11 directory contains the latest code for Trac 0.11. 60 Or you can download the zipped source from [source:graphvizplugin here]. Note that this contains everything regarding the Graphviz plugin including tagged releases and branches. 61 62 For '''older versions''', the 0.10 directory contains the latest released version of the code for Trac 0.10 and the 0.11 directory contains the latest code for Trac 0.11. 28 63 - [export:graphvizplugin/tags/0.11-0.7.5 download] latest stable version (0.7.5) for Trac 0.11. 29 64 - [export:graphvizplugin/tags/0.10 download] latest version for Trac 0.10. 30 65 31 That version has some trouble with `rsvg` support for creating anti-aliased images. The upcoming version contains a few related fixes: 66 That version has some trouble with `rsvg` support for creating anti-aliased images. 67 68 The '''upcoming versions''' contain a few related fixes: 32 69 - [export:graphvizplugin/trunk download] latest unstable version for Trac 0.11 and later. 33 - [export:graphvizplugin/branches/1.0 download] latest unstable version for Trac 1.0 34 If you want to have anti-aliased images, it might be a better option anyway to get/build a recent version of graphviz tools, which support producing anti-aliased images directly, through pangocairo support. 70 - [export:graphvizplugin/branches/1.0 download] latest unstable version for Trac 1.0. 71 72 If you want to have anti-aliased images, it might be a better option anyway to get and build a recent version of Graphviz tools. The recent versions support anti-aliasing directly, through pangocairo support. 35 73 36 74 == Source … … 70 108 1. Configure your environment by modifying your `trac.ini` file. 71 109 72 == Example73 74 Add the following lines to a wiki page:75 76 {{{77 {{{78 #!graphviz79 digraph G {Hello->World->Graphviz->Rules}80 }}}81 }}}82 83 and that would produce an image as follows:84 85 [[Image(first-example.png)]]86 87 Note that you can insert TracLinks like this:88 {{{89 {{{90 #!graphviz91 digraph G {92 rankdir = "LR"93 GraphvizPlugin [ URL=GraphvizPlugin ]94 Trac [95 URL="http://trac.edgewall.org/"96 fontcolor=red97 ]98 GraphvizPlugin -> Trac99 }100 }}}101 }}}102 103 This produces an image like this, but with clickable nodes (note that nodes aren't actually clickable in this example):104 105 [[Image(second-example.png)]]106 107 More examples at: http://www.graphviz.org/Gallery.php108 109 110 == Recent Changes 110 111