On Thu, Jun 13, 2019 at 12:02 PM YuFei Wang <[email protected]> wrote:

> > I see. Is the date format configurable? For example, can someone tell
> the library to use a date like June 12, 2019 instead of 2019.06.12?
>
> Yeah, the user can pass a specific regular expression:
> https://github.com/KuTuGu/netjsongraph.js/blob/b51355c921932f9502599d9aa2a9976aa1c93473/src/js/netjsongraph.core.js#L272
>
> > Can you make the link line thicker please?
> > Can we control the style of those?
>
> Yeah, we can control colorful styles according to the params
> -- nodeStyleProperty、linkStyleProperty:
> https://github.com/KuTuGu/netjsongraph.js/blob/b51355c921932f9502599d9aa2a9976aa1c93473/src/js/netjsongraph.core.js#L17-L18
> And because we use canvas render, so we can't custom the style by `css
> class`, but the specific format in echarts like the link
> <https://echarts.apache.org/option.html#series-graph.data.itemStyle> I
> writed in the commented code.
>

Ok great!

Can you prepare an example with slightly thicker links and with links of
different colors (eg: red and dark green) and a legend?

Like this one:
https://nodeshot.org/netjsongraph/examples/custom-attributes.html


> > Can we make sure that by default the color is consistent with what we
> are showing in the logical map?
>
> I'll try to do this.
>
> > Why do are chinese characters shown in the upper right corner?
>
> Fixed. And now it's also a param we can custom.
>
> > Can you try to make the example use the full space of the page?
>
> Fixed.
>
> > Can you also add a label for the different colors of the nodes?
> > Can we try to break up netjsongraph.core.js into more files if it makes
> sense?
>
> Ok, I'll do.
>

-- 
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/CAERYH6Wvh2EWhA2DohLWZ%2BHr3byc8y8bnKy_wJfRb7erq6AnOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to