[Dev] Chandler dependency graphs

Mike Taylor bear at code-bear.com
Mon Apr 25 23:25:17 PDT 2005


Earlier today on IRC people were discussing building a dependency graph 
of Chandler.  I had run the code thru the generator a couple of months 
ago and thought I would post how I created the data files.

The easiest way to get a complete picture of all that goes into 
Chandler is to use the RunPython script to execute the two .py 
programs.

1. copy py2depgraph.py and depgraph2dot.py into chandler/
2. run "python py2depgraph.py ./Chandler.py > Chandler.dep"
3. edit Chandler.dep to remove the first line that our python adds, 
"Using ..."
4. run python depgraph2dot.py < Chandler.dep > Chandler.dot
5. edit Chandler.dot to remove the first line that out python adds, 
"Using ..."
6. Run Graphviz and let it churn on Chandler.dot

hope this helps,

---
Bear
http://code-bear.com

Open Source Applications Foundation (OSAF)
http://www.osafoundation.org

PGP Fingerprint = 9996 719F 973D B11B E111  D770 9331 E822 40B3 CD29

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.osafoundation.org/pipermail/dev/attachments/20050426/84a8eddd/PGP.bin


More information about the Dev mailing list