almende / vis

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

Is Circular Layout supported by Vis.js #3947

Open ositowang opened 6 years ago

ositowang commented 6 years ago

Hi, All: I am using vis.js to visualize a process map these days. I have a question regarding the graph layout. Is there any circular layout supported by vis.js? I red some posts on the internet. Some said no, but other says yes(without codes provided) I want to know if circular layout is possible with vis.js or not.

KenyStev commented 6 years ago

Do you mean circular layout the way you connect nodes of the network? if it is then yes just go ahead and check the models documentation for an example like this: http://visjs.org/examples/network/edgeStyles/colors.html btw it is not an issue so I suggest you post on StackOverflow with the tag [vis.js].

ositowang commented 6 years ago

Hi Keny: Thank you for replying. What I mean is not nodes style, but network graph layout. Generally, we create a network from vis.js like this: image However, for a process map, I prefer it in a circular layout., like this one: image Is this layout supported by vis.js?

emorling commented 6 years ago

I am also curious about this and specifically like this:

mahit777 commented 6 years ago

I don't think so that these layouts are supported yet in Network Module. Only Layout option is Hierarchial and the default is radial