Thanks for the recap YuFei. Which one do you like more? And which direction do you suggest taking?
The first link still looks like the best prototype to me. Fedeirco On Sun, May 5, 2019 at 9:17 AM <[email protected]> wrote: > I tried to write the netjsongraph layout with SigmaJS, plus the previous > Echarts library, which has four effects: > - https://kutugu.github.io/NetJSONDemo/examples/netjson.html > - https://kutugu.github.io/NetJSONDemo/examples/netjson-sigma.html > - https://kutugu.github.io/NetJSONDemo/examples/netjson-bigData.html > - https://kutugu.github.io/NetJSONDemo/examples/netjson-sigma-bigData.html > > Below I list some of the differences between the two libraries: > - Echarts: > - Advantage: Easy to get started. Support multi-function widget > extension (Node element classification, different theme, like day-night > mode in mesh viewer > <https://regensburg.freifunk.net/meshviewer/#/en/graph%23!/en/map>) > - Disadvantage: > 1.It is not easy to customize the extension, and there > may be some difficulties in encapsulating the deeper and later optimization > (need to modify the source code). > 2.The parameters of the force algorithm is less, some > of which have to remove. > 3. The node Label is always displayed. Big data may be > messy. > - Sigma: > - Advantage: Some optimizations can be made easily When big data > are rendered. Built-in features such as canvas scaling and panning, etc., > and provide a number of plugins > <https://github.com/2XL/CN_Deliver2/tree/master/demo/linkurious/plugins> > for different functions. > - Disadvantage: > 1. Features require a lot of plugins, less tutorials, > difficult to get started. > 2. There are some problems in the handling of the drag > event, such as the dragging of the edge and the node will not maintain the > final position after dragging. The force layout must be stopped when > dragging. > 3. Under WebGL accelerated rendering, some features are > not supported, such as edge's mouse events. > > 在 2019年4月4日星期四 UTC+8下午10:27:39,[email protected]写道: >> >> Hi Federico, I wrote a simple map rendering demo and improved draft >> these few days. You can review it in your spare time. In the next few days, >> I am going to do some optimization and performance testing on demo, do you >> have a rough estimate about the number of nodes and links to be drawn? >> >> -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAERYH6UM7nuEebQQ%2BVkJCcfxjtrOO44mW6eT%2BSQJRjhXaR6oWg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
