Hi guys!
I've created some graphics with gephi using the sigma exporter plugin which creates a project like this one, for use the interactive graphic it's just needed open the index.html Now i've created a little site with django and i'd like to show the interactive graphics that i've generated by gephi on my site: i've created a button in this way:
-- I've created some graphics with gephi using the sigma exporter plugin which creates a project like this one, for use the interactive graphic it's just needed open the index.html Now i've created a little site with django and i'd like to show the interactive graphics that i've generated by gephi on my site: i've created a button in this way:
<li><a target="_blank" href="./gephi/1/1/network/index.html">1.1 - OpenOrd - Centrality</a></li>
in the network folder there are all the files generated from gephi, but i can't open properly the project by django, infact when i open the index.html appears only this.
In the urlpatterns in urls.py i've added this:
path('gephi/1/1/network/index.html', views.graph)
in the view.py i've added this:
def graph(request): return render(request, 'home/gephi/1/1/network/index.html', {})
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-users@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/b4715577-3a50-4ae5-a6bd-cfce43ade517%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment