Changeset 4412
- Timestamp:
- Oct 7, 2008, 8:23:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
graphvizplugin/0.11/README.txt
r4411 r4412 14 14 ++++++++++++++ 15 15 16 A simple example would be: 17 18 {{{ 19 #!graphviz 20 digraph G {Hello->World->Graphviz->Rules} 21 }}} 16 A simple example would be:: 17 18 #!graphviz 19 digraph G {Hello->World->Graphviz->Rules} 22 20 23 21 There are also several additional examples available in the examples … … 34 32 to generate the images. 35 33 36 The different programs can be invoked using one of these: 37 38 #!graphviz39 #!graphviz.dot40 #!graphviz.neato41 #!graphviz.twopi42 #!graphviz.circo43 #!graphviz.fdp44 34 The different programs can be invoked using one of these:: 35 36 #!graphviz 37 #!graphviz.dot 38 #!graphviz.neato 39 #!graphviz.twopi 40 #!graphviz.circo 41 #!graphviz.fdp 42 45 43 46 44 The supported image formats are: png (default), gif, jpg, svg and svgz. 47 45 The format can be specified using a "/format" modifier, in the hashbang, 48 as shown below: 49 50 #!graphviz/svg51 #!graphviz.dot/png52 #!graphviz.circo/gif53 54 46 as shown below:: 47 48 #!graphviz/svg 49 #!graphviz.dot/png 50 #!graphviz.circo/gif 51 52 55 53 Platform Specific Requirements 56 54 ============================== … … 88 86 http://trac-hacks.swapoff.org/svn/graphvizplugin. 89 87 90 Change to the graphvizplugin/0.11 directory and run: 88 Change to the graphvizplugin/0.11 directory and run:: 91 89 92 90 python setup.py bdist_egg … … 110 108 111 109 A new section called graphviz should be added to the conf/trac.ini 112 file with these fields: 110 file with these fields:: 113 111 114 112 cache_dir - The directory that will be used to cache the … … 148 146 149 147 default_* - These settings define the default graph, node and 150 edge attributes. They must be written as 148 edge attributes. They must be written as: 151 149 default_TYPE_ATTRIBUTE = VALUE 152 150 where TYPE is one of graph, node, edge … … 191 189 +++++++++++++++++++++ 192 190 193 Here is a sample graphviz section: 194 195 [graphviz]196 cache_dir = /tmp/trac/htdocs/graphviz197 png_antialias = true198 default_graph_fontname = "Andale Mono"199 default_graph_fontsize = 10200 201 202 Here is a sample graphviz section that activates the cache manager: 203 204 [graphviz]205 cache_dir = /tmp/trac/htdocs/graphviz206 png_antialias = true207 default_graph_fontname = "Andale Mono"208 default_graph_fontsize = 10209 cache_manager = yes210 cache_max_size = 10000000211 cache_min_size = 5000000212 cache_max_count = 2000213 cache_min_count = 1500191 Here is a sample graphviz section:: 192 193 [graphviz] 194 cache_dir = /tmp/trac/htdocs/graphviz 195 png_antialias = true 196 default_graph_fontname = "Andale Mono" 197 default_graph_fontsize = 10 198 199 200 Here is a sample graphviz section that activates the cache manager:: 201 202 [graphviz] 203 cache_dir = /tmp/trac/htdocs/graphviz 204 png_antialias = true 205 default_graph_fontname = "Andale Mono" 206 default_graph_fontsize = 10 207 cache_manager = yes 208 cache_max_size = 10000000 209 cache_min_size = 5000000 210 cache_max_count = 2000 211 cache_min_count = 1500 214 212 215 213 The cache manager is turned on since there is an entry in the graphviz … … 223 221 224 222 225 Here's the same example but for Windows systems: 226 227 [graphviz] 228 cache_dir = C:\projects\plugins\env\trac\htdocs\graphviz 229 cache_manager = yes 230 cache_max_size = 10000000 231 cache_min_size = 5000000 232 cache_max_count = 2000 233 cache_min_count = 1500 223 Here's the same example but for Windows systems:: 224 225 [graphviz] cache_dir = C:\projects\plugins\env\trac\htdocs\graphviz 226 cache_manager = yes 227 cache_max_size = 10000000 228 cache_min_size = 5000000 229 cache_max_count = 2000 230 cache_min_count = 1500 234 231 235 232 Notice that the png_antialias, rsvg_path, default_graph_fontname and
Note: See TracChangeset
for help on using the changeset viewer.