Opened 7 years ago

# Run script on source repository file to generate GraphViz commands

Reported by: Owned by: jeffk cboos 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 4 years ago by cboos

• Owner changed from pkropf to cboos

### comment:2 Changed 4 years ago by cboos

• Trac Release changed from 0.10 to 0.11

### Modify Ticket

Change Properties