Can I connect objects with javascript?

核能气质少年 提交于 2019-12-13 04:00:34

问题


I want to make an interface that looks like this

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:


inspect graphiti which is based on raphael.

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

Greetings

Andreas



来源:https://stackoverflow.com/questions/10594009/can-i-connect-objects-with-javascript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!