Can I connect objects with javascript?

2019-09-02 01:34发布

I want to make an interface that looks like this

enter image description here

So here is what the user can do

1- Connect people to each other 2- See some information about each person (the balloon) 3- Move these objects around without them loosing their connections

Then I want to save these connection information using ajax, so that I can see who is connected to who, I also need to redraw these diagrams next time the user sees the page.

It seems like jsPlumb, paperjs, and raphael can all do this and a lot more, my question is which one is suitable for this need.

1条回答
Explosion°爆炸
2楼-- · 2019-09-02 02:04

inspect graphiti which is based on raphael.

http://www.draw2d.org/graphiti/jsdoc/#!/example

Greetings

Andreas

查看更多
登录 后发表回答