Modify

Opened 18 years ago

Last modified 16 years ago

#1049 new enhancement

Run script on source repository file to generate GraphViz commands

Reported by: Jeff Kowalczyk Owned by: Christian Boos
Priority: normal Component: GraphvizPlugin
Severity: normal Keywords: graphviz
Cc: Trac Release: 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.

Attachments (0)

Change History (2)

comment:1 Changed 16 years ago by Christian Boos

Owner: changed from Peter Kropf to Christian Boos

comment:2 Changed 16 years ago by Christian Boos

Trac Release: 0.100.11

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Christian Boos.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.