From: Mike D. <mi...@de...> - 2005-12-05 11:59:06
|
Hi all Just dropped in to your list after drawing a blank in your archives. I am attending an Open Source Developers Conference in Melbourne as we speak and got a referral to you from an admirer. I'm looking for a Python (I'm new to python and graphics sw) module to visualise subsets of a database of related entities by printing boxes joined by lines. The entities are linked with named n:m relationships and I'd like to select one and display it in a box (with the entity name) and all related entities likewise in boxes linked to each other by lines representing the relationships tagged with the names of those relationships. I'm thinking I need some clever stuff to ensure as few lines as possible cross and mess up the visualisation. At first glance I would say we have a mismatch and your very impressive software is probably overkill for what I want. If I'm on the wrong tram with matplotlib I'd appreciate a redirect. Otherwise, if anyone is prepared to say matplotlib is the way to go I'll download it and start playing. Thanks heaps mike |
From: Gary R. <gr...@bi...> - 2005-12-05 12:52:59
|
Hi Mike, Take a look at pydot <http://dkbza.org/pydot.html>. I think John Hunter may have used this in the matplotlib manual. There's an ER diagram in the Graphviz (which pydot wraps) examples: <http://www.graphviz.org/Gallery/undirected/ER.html> Enjoy the conference. I'm too cheap to attend :-( Gary Ruben (from Melbourne) Mike Dewhirst wrote: > Hi all > > Just dropped in to your list after drawing a blank in your archives. I > am attending an Open Source Developers Conference in Melbourne as we > speak and got a referral to you from an admirer. > > I'm looking for a Python (I'm new to python and graphics sw) module to > visualise subsets of a database of related entities by printing boxes > joined by lines. > > The entities are linked with named n:m relationships and I'd like to > select one and display it in a box (with the entity name) and all > related entities likewise in boxes linked to each other by lines > representing the relationships tagged with the names of those > relationships. > > I'm thinking I need some clever stuff to ensure as few lines as possible > cross and mess up the visualisation. > > At first glance I would say we have a mismatch and your very impressive > software is probably overkill for what I want. If I'm on the wrong tram > with matplotlib I'd appreciate a redirect. Otherwise, if anyone is > prepared to say matplotlib is the way to go I'll download it and start > playing. > > Thanks heaps > > mike |
From: Mike D. <mi...@de...> - 2005-12-05 13:35:48
|
Thanks guys - downloading as I sleep :) Regards mike Tim Leslie wrote: > It sounds like what you're after would be better done with the graphviz > set of programs. > > http://www.graphviz.org/ > > I've used it a couple of times to do various things and it's a pretty > amazing package. I don't know of any python libraries for it, but I havn't > really looked. Let us know if this meets your needs. > > Cheers > > Tim Gary Ruben wrote: > Hi Mike, > Take a look at pydot <http://dkbza.org/pydot.html>. I think John Hunter > may have used this in the matplotlib manual. > There's an ER diagram in the Graphviz (which pydot wraps) examples: > <http://www.graphviz.org/Gallery/undirected/ER.html> > Enjoy the conference. I'm too cheap to attend :-( > Gary Ruben (from Melbourne) > > Mike Dewhirst wrote: > >> Hi all >> >> Just dropped in to your list after drawing a blank in your archives. I >> am attending an Open Source Developers Conference in Melbourne as we >> speak and got a referral to you from an admirer. >> >> I'm looking for a Python (I'm new to python and graphics sw) module to >> visualise subsets of a database of related entities by printing boxes >> joined by lines. >> >> The entities are linked with named n:m relationships and I'd like to >> select one and display it in a box (with the entity name) and all >> related entities likewise in boxes linked to each other by lines >> representing the relationships tagged with the names of those >> relationships. >> >> I'm thinking I need some clever stuff to ensure as few lines as >> possible cross and mess up the visualisation. >> >> At first glance I would say we have a mismatch and your very >> impressive software is probably overkill for what I want. If I'm on >> the wrong tram with matplotlib I'd appreciate a redirect. Otherwise, >> if anyone is prepared to say matplotlib is the way to go I'll download >> it and start playing. >> >> Thanks heaps >> >> mike > > > > |
From: John H. <jdh...@ac...> - 2005-12-10 18:47:03
|
>>>>> "Mike" == Mike Dewhirst <mi...@de...> writes: Mike> The entities are linked with named n:m relationships and I'd Mike> like to select one and display it in a box (with the entity Mike> name) and all related entities likewise in boxes linked to Mike> each other by lines representing the relationships tagged Mike> with the names of those relationships. matplotlib may not be the best choice (someone already pointed you to graphviz and pydot). See also pyx. But there is a graph drawing module for matplotlib -- see http://networkx.sf.net JDH |