Changeset 4412


Ignore:
Timestamp:
Oct 7, 2008, 8:23:40 AM (16 years ago)
Author:
Christian Boos
Message:

GraphvizPlugin: well, that README.txt was only approximatively reStructuredText, fixing it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • graphvizplugin/0.11/README.txt

    r4411 r4412  
    1414++++++++++++++
    1515
    16 A simple example would be:
    17 
    18 {{{
    19 #!graphviz
    20 digraph G {Hello->World->Graphviz->Rules}
    21 }}}
     16A simple example would be::
     17
     18  #!graphviz
     19  digraph G {Hello->World->Graphviz->Rules}
    2220
    2321There are also several additional examples available in the examples
     
    3432to generate the images.
    3533
    36 The different programs can be invoked using one of these:
    37 
    38 #!graphviz
    39 #!graphviz.dot
    40 #!graphviz.neato
    41 #!graphviz.twopi
    42 #!graphviz.circo
    43 #!graphviz.fdp
    44 
     34The 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 
    4543
    4644The supported image formats are: png (default), gif, jpg, svg and svgz.
    4745The format can be specified using a "/format" modifier, in the hashbang,
    48 as shown below:
    49 
    50 #!graphviz/svg
    51 #!graphviz.dot/png
    52 #!graphviz.circo/gif
    53 
    54 
     46as shown below::
     47
     48 #!graphviz/svg
     49 #!graphviz.dot/png
     50 #!graphviz.circo/gif
     51 
     52 
    5553Platform Specific Requirements
    5654==============================
     
    8886http://trac-hacks.swapoff.org/svn/graphvizplugin.
    8987
    90 Change to the graphvizplugin/0.11 directory and run:
     88Change to the graphvizplugin/0.11 directory and run::
    9189
    9290    python setup.py bdist_egg
     
    110108
    111109A new section called graphviz should be added to the conf/trac.ini
    112 file with these fields:
     110file with these fields::
    113111
    114112    cache_dir       - The directory that will be used to cache the
     
    148146
    149147    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:
    151149                            default_TYPE_ATTRIBUTE = VALUE
    152150                      where TYPE      is one of graph, node, edge
     
    191189+++++++++++++++++++++
    192190
    193 Here is a sample graphviz section:
    194 
    195 [graphviz]
    196 cache_dir = /tmp/trac/htdocs/graphviz
    197 png_antialias = true
    198 default_graph_fontname = "Andale Mono"
    199 default_graph_fontsize = 10
    200 
    201 
    202 Here is a sample graphviz section that activates the cache manager:
    203 
    204 [graphviz]
    205 cache_dir = /tmp/trac/htdocs/graphviz
    206 png_antialias = true
    207 default_graph_fontname = "Andale Mono"
    208 default_graph_fontsize = 10
    209 cache_manager = yes
    210 cache_max_size = 10000000
    211 cache_min_size = 5000000
    212 cache_max_count = 2000
    213 cache_min_count = 1500
     191Here 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
     200Here 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
    214212
    215213The cache manager is turned on since there is an entry in the graphviz
     
    223221
    224222
    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
     223Here'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
    234231
    235232Notice that the png_antialias, rsvg_path, default_graph_fontname and
Note: See TracChangeset for help on using the changeset viewer.