almende / vis

⚠️ This project is not maintained anymore! Please go to https://github.com/visjs
7.85k stars 1.48k forks source link

Is there a way to represent hyper edge [feature query] #4207

Open D8V3 opened 5 years ago

D8V3 commented 5 years ago

Hi,

I am looking to represent below case where some nodes are close to each other and a far away node is connecting to all of them: image

A has connection to B, C, and D. But above is a bit different from below representation where the edges AB AC and AD are independent image

I think currently visjs does not support the first representation. What I am thinking is to add a soft or fake node at the joint. The fake nodes will have some different attributes to be differentiated from regular nodes. This may solve some of my current problems, but it adds more complexity in handling regular connections and long term I am not sure if this an optimal solution as I have not think this through yet. Is there any activity in visjs to add this kind of feature? Or any suggestion or input is welcome.

Thank you very much!

mojoaxel commented 5 years ago

@D8V3 Maybe you can draw an example Image how something like this should/could look. To be honest i have problems understanding what you want to achieve. (You can just drag and drop images into your comments).

D8V3 commented 5 years ago

Thanks for replying. Below (upper pic) is an example of the case I asked, it is not same as the lower one: image