This project is deprecated.
A new frontend, https://github.com/tcatm/meshviewer, has been developed offering superior features.
You may find the archived source code of ffmap-d3 at https://github.com/ffnord/ffmap-d3/tree/deprecated
Deprecated and superseded by http://draic.info/meshviewer
This project is deprecated.
A new frontend, https://github.com/tcatm/meshviewer, has been developed offering superior features.
You may find the archived source code of ffmap-d3 at https://github.com/ffnord/ffmap-d3/tree/deprecated
I would like to link directly to a geo coordination on the map.
Show the IPv6 address of the node/client in the box at the top left, if you click on a node
If a router in the nodename has no Label, there should be shown something like identicons but not with images but with a unique word for each MAC-Adresses.
I.g. create an easy to remember alias for a mac address, that is unique and reverse lookupable, for example:
IP 123.456.789.132 will result in an alias for that IP, that is connected to an existing word from a wordlist, that is unique.
I posted that idea here too:
http://serverfault.com/questions/455984/mac-and-ip-adress-text-identicon-as-avatar
Hi,
when nodes are too far from each other, no node will be displayed when zooming into any node.
reproduce by using this nodes.json and zoom into any node. No node will be displayed at all.
{
"nodes": [
{
"clients": [],
"name": "AAA",
"flags": {
"vpn": false,
"legacy": false,
"gateway": false,
"online": true
},
"clientcount": 0,
"geo": [
"53.5795",
"10.044981"
],
"id": "ee:55:55:55:55:55",
"firmware" : "v1"
},
{
"clients": [],
"name": "BBB",
"flags": {
"vpn": false,
"legacy": false,
"gateway": false,
"online": true
},
"clientcount": 0,
"geo": [
"52.17466",
"8.739857"
],
"id": "ea:14:14:14:14:14",
"firmware" : "v1"
},
{
"clients": [],
"name": "CCC",
"flags": {
"vpn": false,
"legacy": false,
"gateway": false,
"online": true
},
"clientcount": 0,
"geo": [
"52.10466",
"8.9857"
],
"id": "ea:15:15:15:15:15",
"firmware" : "v1"
}
],
"meta": {
"timestamp": "2015-03-05T18:10:01"
},
"links": []
}
Tested using commit repository at 5e1f76a.
In the raph nearly every node has a client, that isn't really attached to the node, in fact it is another network-interface, that only exists inside the node itself.
Those nodes are very irritating, cause they don't count to the attached devices.
either hide those nodes or display them in another color to mark them as internal interfaces
The default grabbing cursor does not allow to aim precislly to coordinates, I suggest a cursor typ like "default" or "crosshair".
Here is fix for this issue: (lib/geomap.js:29-36)
d3.selectAll("#gpsbutton").on("click", function() {
function clickhandler(e) {
var latlng = e.latlng;
map.getContainer().style.cursor = "";
prompt("Koordinaten:", e.latlng.lat + " " + e.latlng.lng);
map.off("click", clickhandler);
}
var clickevent = map.on('click', clickhandler);
map.getContainer().style.cursor = "crosshair"; // or "default"
})
added lines 4 and 8
man könnte die clients farblich leicht anpassen: je länger ein client an der node hängt um so heller wird das Blau der node
Die Knotenliste sollte alle verfügbaren Daten enthalten, also sowohl das was unter /list.html steht, als auch die Alfred-Daten aus /alfred/alfred.html . Zusätzlich könnten noch mehr nützliche Attribute eingeblendet werden wie etwa die Primäre MAC, etc. (s. hierzu auch http://freifunk.discovibration.de/ffhh/www/alfred.html). Das Feld Geokoordinaten ja sollte mit einer Verknüpfung zu den entsprechenden Koordinaten auf der Knotenkarte hinterlegt sein (wie im Graphen). Das würde ein ständiges zusammenklauben von benötigten Daten aus vielen Quellen ersparen.
It would really help a lot if the ipv6 address would be visible in the graph
There are no units shon anywhere. It would be interesting, which units are shown in the graph.
also it would be interesting, what a thin line between two knots means and what a thik line means, and why are there sometimes two numbers on mousehover of the lines and sometimes only one, and what does the number represent?
If you kclick on the button to show the coords with the next click, those coods could be added to the url as well, so you directly get the link to that place to post it somewhere.
And there could be an input field instead of the alert, so you can easyer copy it to the clipboard
Red is a signal color, more than blue, so the red offline nodes are the first thing, that hit the eye, when you look at the map. This is not very beneficial for the map, if a new user at first looks at all the nodes, that don't work. Better would be, if the visitor was overwhelmed of how much of the area is already covered.
So the color for the offline nodes should be grey or a lighter transparent blue
das wäre sehr praktisch, inkl. Community-Name und so.. wahrscheinlich bräuchte man dann auch eine default-config (fuer die standard-werte) und eine spezielle, die jeder webserver dann hat,.
Möchte man noch vor der ersten Anzeige die Clients ausschalten und klickt auf "Clients" so passiert erstmal nicht viel.
Später verschiebt eine Uhrzeit den Clients-Button, wonach der Klick aber nicht mit verschoben wird und dann oft auf dem Pacman landet, da man diesen nicht ausschalten kann, muss man erst wieder neu laden.
Mein Vorschlag zur Güte: Die Uhr schon von Anfang an anzeigen, nur soll sie halt noch nicht gestellt sein, also z.B. auf 00:00:00 stehen.
Repo was deleted. Link should be updated accordingly.
Ich habe in letzten Wochen ein neues Frontend für ffmap-backend gebaut, das nun schon viele Funktionen von ffmap-d3 beherrscht und einige zusätzliche Features hat. Insbesondere zeigt es mehr Daten der Knoten an und funktioniert auf mobilen Geräten.
Auch die Codebasis ist aufgeräumter und Erweiterungen leichter möglich.
Daher würde ich das Projekt ffmap-d3 gerne beende und vielleicht sogar das Repository löschen (der Code ist wirklich nicht schön). Hat da jemand etwas gegen?
Add a checkbox "Positionen merken" in the graph.
When checked, all positions of all nodes are regularely saved in a cookie for each node, so the next time you visit the page, all nodes re-appear at about the same position, as before.
There would be needed a kind of cache, that saves coordinates for all nodes, and when they were last seen. Those nodes that are offline should be shown in the map for some time, depending of the alltogether onlline time, this means, that nodes that were offline a lot should stay on the map some days, and nodes that were just seen for a few hours, should vanish on the map after some hours offline time already
Hi. I'm trying to get ffmap-d3 working with my small mesh, but am unable to figure out how to create the nodes.json file. The output from batctl vd json was not accepted as I
had hoped, and there is no clue in the README how to continue. Perhaps a link to the http://www.nilsschneider.net/2013/02/03/ffmap-tutorial.html page could be included in the README?
Um die Knotenstatistik aufzurufen, muss man sich derzeit zum Knoten im Graph durchklicken, um dann die Grafik zu erhalten. Es wäre schön, wenn das auch von der Karten- und Listenansicht aus direkt möglich wäre:
Was there a continental rift in Germany that moved the whole continent a few meters up north?
Since a month or so, most coordinates are a few meters off to the south of the position where they were before. Was there something changed on the underlying openstreetmaps?
Maybe we can fix this if we reallocate all coordinates that were entered before that change to some meters north
if you open the graph often it doesent all fit on the screen.
I always change the gravity a bit so it all fits.
It would be nice, if the gravity initially adjusts, so the whole graph fits inside the browser-window
it would be nice to highlight a whole chain, that is connected to each other, not only the direct neighbours
Hi,
We at Freifunk Mainz use the ffmap. First a big thanks for this usefull piece of software. 👍
We have a event on a festival with a wifi-controller behind our Freifunk router, so there a a lot of clients behind a single node. The statistic panel in the ffmap has a peak value of 71clients (http://map.freifunk-mainz.de/nodes/647002cd7dec.png). The Wlan Controller Software shows a client count of above 100clients. So it seems, that there is some threshold for the client count. Is there any reason why the map can only show 71clients per node ? Or is the bug somewhere in between?
regards
Knirps
Für Leaflet bereits implementiet in:
https://github.com/mlevans/leaflet-hash
Wenn man sich auf der Karte bewegt / zoomed wird die URL automatisch mit angepasst, sodass bei einem Refresh (F5, Strg+R) automatisch der Kartenausschnitt, den man vorher hatte, erhalten bleibt.
Das kollidiert zumindest mit der bisherigen Funktion wie aus dem Graph in die Karte verlinkt wird. Am besten denke ich dass man den vorhandenen Code dazu durch das Leaflet-Plugin ersetzen sollte, da so der Wartungsaufwand geringer wird.
Aber: Ist das mit dem single_page_app branch noch relevant?
Feature request: Momentan errechnet die Karte beim Laden anhand der vorhandenen Knotenkoordinaten die Position des Ausschnittes auf der Weltkarte sowie die Vergrößerung.
Das führt dazu, dass man bei jeder Betrachtung sehr stark vergrößern und die Karte an die richtige Position bewegen muss, wenn Knoten weit ausserhalb des Stadtgebietes eingetragen werden (was durchaus Gang und Gebe ist).
Es wäre toll, wenn man alternativ Koordinaten und ein Vergrößerungsstufe fest voreinstellen könnte. Prinzipiell müssten dazu wahrscheinlich nur an der Stelle im Code wo heute diese beiden Werte berechnet werden Konstanten eingetragen werden.
There is needed a functionality to put the map on a low-framerate.
once the map is all shifted into position and not much changes, the framerate should go down to 2fps ur such.
on most computers with not such a good graphics card, the power consumption of firefox goes up to over 90%
a button or an URL-Parameter to set down the refresh-rate to a very low level would solve this too
Development happens in the single_page_app
branch.
ToDo:
We would need a functionality to blacklist certain nodes on the map for cases, where the coordinates in the nodes are not entered at the correct spot so they create wrong links all across the city that don't really exist.
Where would be the best place to create such a blacklist so these nodes are not shown on the map?
Hi,
könnte in die Knotenliste eine Information mit aufgenommen werden, wann der letzte Kontakt zum Knoten erfolgreich war.
Im Moment gibt es die Info, dass ein Knoten offline ist - aber nicht wie lange schon.
Ich würde die Information gern in der Freifunk-Karte nutzen.
It would be great, if you could add extra nodes on the map that have no name and are not connected to any other personal data.
was heissen wigentlich die zahlen auf der freifunkkarte hinter den rountenamen in klammern?
Irgendwie mal ne legende wäre gut.
Und wenn man auf der karte auch sehen würde, welche router einen uplink haben
Like in the NodeGraph, it would be cool, if you could search in the leaflet.js map too
Something along this is needed to get started:
install nodejs
install npm (using curl/sh)
npm install
npm install bower grunt-cli
node_modules/bower/bin/bower install
node_modules/grunt-cli/bin/grunt
The Map, Graph and List does not work with Internet Explorer.
I have testet Internet Explorer 11.
Internet Explorer throws an error "Object does not support this action" to "throw e" on this line:
Bacon.js ca. line 1497
catch (_error) {
e = _error;
this.pushing = false;
this.queue = [];
throw e;
}
i user thit script
http://freifunk.in-kiel.de/wiki/Eigenen_Rechner_in_das_Freifunk-Netz
to add my own laptop as node in freifunk hamburg with
'sudo freifunk-connect hh'
then i got this picture:
http://www.imagebanana.com/view/q6b6wewh/fehler.png
even if i reload the complete page.
Then I turned one of the routers off and on again and afterwards it looked normal.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.