Abhijit Bhattacharya
Abhijit Bhattacharya

Reputation: 219

Directed graph in python

I am trying to depict the relationship of different data entities with my ETL (extraction transformation loading) pipeline. The final output is a large directed graph. So far I am using Python to extract data relationship. Pydot helps me generate svg file which I can open up using a browser. The graph that I generate is static.

Pydot lets me setup tooltip and allows me to link other html pages with nodes or edges. I am looking for more than that.

A small portion of the graph is shown below

Directed Graph

enter image description here

I want to do several things with this graph.

I read this forum and came across several options in response to questions similar to mine.

I have Python skill but quite novice on Javascript side. I would like to know from experts what can be my best bet (from functionality and ease of use point of view). A browser based solution is preferred.

Any suggestion / help will be really appreciated.

Thanks Abhijit

Upvotes: 1

Views: 2561

Answers (1)

Chris Barker
Chris Barker

Reputation: 2389

Try NetworkX. Node attributes can be anything hashable, so that addresses (at least) your first two bullets.

You will still be using matplotlib to generate the charts. I don't know of a better solution than that.

Upvotes: 1

Related Questions