mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-07-05 17:31:26 +02:00
Link to the network graph and make TR win.
This commit is contained in:
@@ -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
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user