humangeo / leaflet-dvf

Leaflet Data Visualization Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

L.Graph on wiki

rfsaldanha opened this issue · comments

Can't find L.Graph reference in the wiki.

I've been bad with documentation - my apologies. I'll try to post some updates soon. In the meantime, I hope the examples are somewhat helpful. Also, let me know if you have any questions.

Hello @sfairgrieve , I am also facing problems without proper documentations. Could you please help with a generic example for L.Graph / kindly update the documentation.

@shabala absolutely. If you tell me what doesn't make sense, I'll try to focus on that in the documentation. Is the problem that the examples are too complex? If you have specific questions about things, ask those as well. Just want to make sure any documentation updates address typical problems people are having with L.Graph.

The 'US Airports and Flight Data' example is hard to understand without document about L.Graph. Besides, after reading deep into the source core, I have a question that whether processing data in the front end is a proper visualization solution. In that example, flight data and airport data are stored in JavaScript files. However, in some circumstances, the data is not public.

@ymz1124 I'll try to throw together a simpler example and update the docs at some point soon. With regard to data not being public, there's nothing that prevents you from querying a graph database or web service and dynamically populating L.Graph with data from the server. Storing data in JavaScript files in the examples is simply done for convenience.