Comments (6)
-
This is by design. The idea was to make the meshviewer API independent from the node's data structures. If anything, a redesign should make it match the NetJSON format (once it's finalized). From what I've gathered, NetJSON might not yet be suitable for meshviewer.
-
This is also by design. It does not suffice to use the node id directly as the links do only refer to nodes within the nodes list from graph.json. This node list does refer to node ids. There may be nodes within the graph that do not have a corresponding node id (e.g. nodes seen via weak wifi links).
from meshviewer.
I should make two issues:
-
okay i got it. (a change to show the different clients would be accepted? ) -> closed
-
I does not understand:
I have not seen any code, where the node id would not be in a answer.
Okay the mac could be different as the node id in a answer, but the had to replace by the node id.
from meshviewer.
Have a look at this: https://github.com/ffnord/meshviewer/blob/master/lib/main.js#L33
from meshviewer.
This is no answer :(
I know how you make it to manage your json tree ^^
Sorry that i am wasting your time.
i have make it for testing, maybe you could just look :D
https://github.com/FreifunkBremen/meshviewer/blob/JSONv2/lib/main.js#L45
from meshviewer.
I see. Well, I think it's best to keep the format as is for maximum compatibility until we can be sure that for each node within the graph a nodeinfo object is present.
from meshviewer.
okay that is a answer.
Not beautiful but acceptable.
from meshviewer.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meshviewer.