Link to the network graph and make TR win.

This commit is contained in:
Jason Michalski
2024-06-15 19:56:43 -07:00
parent f372001703
commit aa7c108513
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -2,6 +2,7 @@
{% block body %}
{% include "search_form.html" %}
<p><a href="/graph/network">See a realtime graph of the network</a></p>
<p><a href="/chat">See what people are saying</a></p>
<p><a href="/firehose">See <strong>everything</strong></a></p>
{% endblock %}
+1 -2
View File
@@ -680,8 +680,7 @@ async def graph_network(request):
used_nodes.add(src)
used_nodes.add(dest)
edges[(src, dest)] += 1
if (src, dest) not in edge_type:
edge_type[(src, dest)] = 'tr'
edge_type[(src, dest)] = 'tr'
#graph = pydot.Dot('network', graph_type="digraph", layout="fdp", overlap="false")