vue2vis icon indicating copy to clipboard operation
vue2vis copied to clipboard

visjs and visjs-community

Open pleek91 opened this issue 5 years ago • 20 comments

The main visjs has been end of life'd in favor of individual repositories for the individual features.

Here's the post about it. https://github.com/almende/vis/issues/4259

Looks like the network and timeline have been broken out into their own modules. https://github.com/visjs-community

Considering the main visjs repository is no longer being updated. It would be great to update vue2vis to use these new modules as they become available. I'd be willing to work on the timeline component. But I'd like to know if @alexcode is open to moving forward with this before I start working on it.

Thanks

pleek91 avatar Mar 20 '19 18:03 pleek91

Thanks for the heads-up @pleek91. I haven't spend time on this project recently but I will still invest although mainly on the timeline as well. I agree with you that if we want to benefit from the vis.js development going forward, we need to use the new modules.

This raise the question of having only one repo/npm module. Should we breakdown this repo as well or importing all the vis-community into this one ?

On a side note, I'm not sure the community modules are ready yet.

@Menighin what do you think ?

Thanks Alex

alexcode avatar Mar 26 '19 14:03 alexcode

@alexcode I like the idea of having multiple repos following the direction that the vis-community repo is going. Also, the timeline-plus module has been actively developed for a while. That one might be ready to use. Not sure about the others.

pleek91 avatar Mar 26 '19 15:03 pleek91

Hi guys,

I agree on splitting vue2vis into modules, following Vis direction. I have been busy lately as well but will help on the Network asap (dunno if the Vis module for network is ready as well).

Menighin avatar Mar 26 '19 15:03 Menighin

@Menighin the network seems to be at https://github.com/visjs-community/visjs-network

alexcode avatar Mar 27 '19 10:03 alexcode

hello 👋 visjs-network maintainer here.

I'm happy to help update to vue2vis to use visjs-network for network visualization if that is something that interests you all.

the API of https://www.npmjs.com/package/visjs-network is backwards compatible with the legacy https://www.npmjs.com/package/vis mono-library.

we follow semver in visjs-network, so that backwards compatibility will be maintained at least until the next major version of visjs-network

micahstubbs avatar Mar 27 '19 21:03 micahstubbs

@yotamberk is this something you would be willing to help with?

pleek91 avatar Mar 28 '19 14:03 pleek91

I will be moving to vis-community in the next few weeks. Until then you are welcome to use my fork: https://github.com/yotamberk/timeline-plus

yotamberk avatar Mar 30 '19 14:03 yotamberk

Looks like timeline-plus has been moved into vis-community.

pleek91 avatar Apr 25 '19 19:04 pleek91

Not an updated version. Still working on my own fork. I will move there eventually

yotamberk avatar Apr 26 '19 13:04 yotamberk

@Menighin @alexcode @pleek91 @yotamberk @micahstubbs This week I created vue-vis-network based on the vue2vis. It contains only https://github.com/visjs/vis-network. Should I publish it at NPM?

r3code avatar Sep 04 '19 13:09 r3code

Hi, is anyone working on a vue wrapper for the vis-community timeline repo? https://github.com/visjs/vis-timeline

havardthom avatar Sep 10 '19 08:09 havardthom

Well, I'm not sure if we should go the multi-repo way as visJs does. It make sense from their perspective but as wrapper I feel that we maybe better of the monorepo way with Lerna. As we reuse the same boilerplate and utils, the bug fixes/features/upgrade would benefit the whole wrapper but still be split in lightweight NPM packages with a monorepo. What do you think ?

alexcode avatar Sep 11 '19 14:09 alexcode

If you think so. You should organize a base repo structure. Meantime I thank you for your work - it give me the base for rapid adaptation of new visjs to vue.

Well, I'm not sure if we should go the multi-repo way as visJs does. It make sense from their perspective but as wrapper I feel that we maybe better of the monorepo way with Lerna. As we reuse the same boilerplate and utils, the bug fixes/features/upgrade would benefit the whole wrapper but still be split in lightweight NPM packages with a monorepo. What do you think ?

r3code avatar Sep 11 '19 20:09 r3code

@r3code thanks for asking, I would say that's a decision for you and your user community 😄

For upstream library authoring, splitting into multiple repos is nice, because it lets maintainers focus on the part of the library that they really care about. If you and your fellow maintainers care about all of the parts of vue2vis, then I think the monorepo approach with Lerna that @alexcode suggests sounds reasonable.

micahstubbs avatar Oct 25 '19 03:10 micahstubbs

@r3code thanks for making the fork. If you published your fork to NPM, I'm sure I wouldn't be the only one to use and appreciate it.

meshy avatar Feb 21 '20 23:02 meshy

@meshy Ok. I'll publish as soon as possible. You are not the first who asked me to publish, so I think I should do it.

r3code avatar Feb 22 '20 18:02 r3code

@r3code thank you -- don't hurry just for me though -- I'm happy for you to take your time :)

meshy avatar Feb 22 '20 18:02 meshy

@meshy I'll publish in 48 hours. I Had published once but forgot to generate dist which I need to create jsfiddle demo

r3code avatar Feb 22 '20 21:02 r3code

Honestly, there's no rush -- I think I've found a good enough work-around for my use-case now anyway. Still -- others might find it useful!

meshy avatar Feb 22 '20 21:02 meshy

@meshy Published https://www.npmjs.com/package/vue-vis-network/v/1.0.1

r3code avatar Feb 24 '20 19:02 r3code