Opened 10 years ago

# Run script on source repository file to generate GraphViz commands

Reported by: Owned by: Jeff Kowalczyk Christian Boos normal GraphvizPlugin normal graphviz 0.11

### Description

Building on #1048, it would be useful to have a syntax to run a (python) script with arguments to retrieve Graphviz commands. The typical argument would be a file in the source repository. Something like this:

  {{{
#!graphviz py2uml source:myproject/trunk/doc/model.py
}}}


Presuming a fictional py2uml script that would do the job, this would allow the Wiki to display an appropriately versioned UML model, without a manually maintained .dot file.

The GraphvizPlugin config file sections could be used to define allowed scripts (and short path-free aliases), as well as define the temporary directory where the rendering of the script could be cached based on the repository source revision. Thanks.

### comment:1 Changed 8 years ago by Christian Boos

Owner: changed from Peter Kropf to Christian Boos

### comment:2 Changed 8 years ago by Christian Boos

Trac Release: 0.10 → 0.11

### Modify Ticket

Change Properties