Modify

Opened 16 years ago

Last modified 15 years ago

#3924 new enhancement

Some changes to make this beautiful tool more versatile

Reported by: ergo@… Owned by: Felix Tiede
Priority: normal Component: TracTicketDepgraphPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Hello, I reworked the code little bit to have better presentation for printouts (see attached screen-copies) + added 3rd parameter to select the rankdir (LR, TB, BT, RL), if needed:

[[DepGraph(,-1,LR)]] - standard left-right == [[DepGraph]]
[[DepGraph(,-1,TB)]] - whole graph like [[DepGraph]], but Top-Bottom
[[DepGraph(,-1,BT)]] - same, but Bottom-Top, etc.
similar for ticket range:
[[DepGraph(13,2,BT)]]

Modified code attached (sorry, no time to polish, but it works),
rgds, Paul

Attachments (3)

depgraph2.png (37.8 KB) - added by ergo@… 16 years ago.
Example new shapes with Top-Bottom rankdir
depgraph3.png (24.6 KB) - added by ergo@… 16 years ago.
New shapes, standard rankdir LR with corrected and linked shape for closed ticket
depgraph.py (7.2 KB) - added by ergo@… 16 years ago.
Modified source

Download all attachments as: .zip

Change History (5)

Changed 16 years ago by ergo@…

Attachment: depgraph2.png added

Example new shapes with Top-Bottom rankdir

Changed 16 years ago by ergo@…

Attachment: depgraph3.png added

New shapes, standard rankdir LR with corrected and linked shape for closed ticket

Changed 16 years ago by ergo@…

Attachment: depgraph.py added

Modified source

comment:1 Changed 16 years ago by anonymous

I can not get it running, because the util-module is missing:

Trac[__init__] DEBUG: Loading TracTicketDepgraph from TracTicketDepgraph-0.11-py2.4.egg
Trac[__init__] ERROR: Skipping "TracTicketDepgraph = depgraph": (can't import "No module named util")

Any ideas where this util-module can be found or in which package this is included?

comment:2 Changed 15 years ago by anonymous

It's a shame too, it looks really nice

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Felix Tiede.

Add Comment


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

 
Note: See TracTickets for help on using tickets.