Path (graph) shower utility

D

Durumdara

Hi !

I need to create a program that read eml file headers, analyze the
receive tags and create a path database. I finished with this program
section.

But I want to show a graphical summary about the paths.

This is (what I want to show) like a graph - show ways, stations, etc,
and I want to show the strength of lines (how many of mails use this way).

Can anyone known about a freeware tool, software, or python module that
can show graphs with best alignments ?

Please help me. Thanx for it:
dd
 
J

Jorgen Grahn

Hi !

I need to create a program that read eml file headers, analyze the
^^^^^^^^
You mean "email". Took me some time to figure out.
receive tags and create a path database. I finished with this program
^^^^^^^^^^^^
You mean "the Recieved: headers". Also took some time to figure out.
section.

But I want to show a graphical summary about the paths.

This is (what I want to show) like a graph - show ways, stations, etc,
and I want to show the strength of lines (how many of mails use this way).

Can anyone known about a freeware tool, software, or python module that
can show graphs with best alignments ?

Sure. You want graphviz:

http://www.research.att.com/sw/tools/graphviz/

It's primarily a tool for rendering a graph (in Postscript, PNG etc) from a
text representation, but IIRC there are Python bindings for it as well. Lots
of people use it for purposes similar to yours.

/Jorgen
 
B

bearophileHUGS

Thank you Jorgen, now I understand the question, and the answer isn't
difficult :)

Graphviz is good enough for this purpose.
but IIRC there are Python bindings for it as well.<

Durumdara can use an email module to extract data, then a graph library
to create the graph, and then save the result in dot format for
Graphviz.
My Graph is probably enough:
http://sourceforge.net/projects/pynetwork/
Otherwise NetworkX is good:
https://networkx.lanl.gov/
There are other libs around, I have seen a new one quite recently.

Bye,
bearophile
 
S

Scott David Daniels

Thank you Jorgen, now I understand the question, and the answer isn't
difficult :)

Graphviz is good enough for this purpose.

...
There are other libs around, I have seen a new one quite recently.

Perhaps that one was:

Yapgvb,
a Python wrapper around the AT&T's graph layout library Graphviz.

URL: http://yapgvb.sourceforge.net

--Scott David Daniels
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top