Django and graphs

75 views
Skip to first unread message

Mohsen

unread,
Mar 22, 2018, 3:36:22 PM3/22/18
to Django users
Hi all:

I am quite new to Django, and I am looking for Django extensions that support graphs and networks. Would anybody guide me with a tutorial or some hints how we may use Django together with Networkx or SNAP graph library packages.

Many thanks

Mohsen

Derek Zeng

unread,
Mar 23, 2018, 10:04:53 AM3/23/18
to Django users
What do you mean by Django extension?
You can just use the Networkx in any django view controller and render the graph to svg using GraphViz. You can save the svg in database and then render it in a webpage.

Julio Biason

unread,
Mar 23, 2018, 10:17:37 AM3/23/18
to django...@googlegroups.com
... and although ugly, you can render your data as a javascript object on your template and use any graph rendering library, like jqplot.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fc058693-64cf-480d-a513-0b6f35531451%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Julio Biason, Sofware Engineer
AZION  |  Deliver. Accelerate. Protect.
Office: +55 51 3083 8101  |  Mobile: +55 51 99907 0554

Ryan Manzer

unread,
Mar 26, 2018, 5:50:49 PM3/26/18
to Django users
Personally, I have had a good deal of success building data APIs using Django Rest Framework and then consuming the data with the D3.js javascript library.  However, I can understand that may be a bit more complicated than you wish to go.
Reply all
Reply to author
Forward
0 new messages