almende / vis

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

Feature request: circular and circle layout for networks #1483

Open hnbeck opened 8 years ago

hnbeck commented 8 years ago

The user shall be enabled to render a network in circular layout (the childs of a node are positioned on a circle around the node) or in circle layout (all nodes are positioned as one big circle).

AlexDM0 commented 8 years ago

Hi,

I'm working on improved layouts for the hierarchical system, maybe it can be extended to this later on. We do not currently have any use case for this ourselves so I can't promise we'll pick this one up. If you want to work on this, we're happy to accept pull requests!

Regards,

Alex

hnbeck commented 8 years ago

Ok, I can not promise anything, but I'll look at the code. Can I ask you especially for layout related questions ?

AlexDM0 commented 8 years ago

Sure, feel free to ask any questions on the source here. I'd recommend to look at the develop branch since there are many changes there regarding the hierarchical view.

For what you want I'd suppose you want to let the hierarchical part do it's thing, then use the distribution and parent-child relations to map onto a set of concentric circles.

AlexDM0 commented 8 years ago

Mapping all nodes onto a single circle is quite messy. If you're going for this sort of thing: http://bl.ocks.org/mbostock/1044242

you may also need to work with the support nodes of the dynamic edges and pull them radially inward for the right effect.

wimrijnders commented 7 years ago

Closed due to inactivity. Feel free to reopen if this is still relevant.

andersonreloaded commented 6 years ago

Radial layout option would be a great addition if available with vis.js.

andersonreloaded commented 6 years ago

Hi, can we re-open this issue ?

Basically, we are looking for options for displaying the network with core nodes at the center in circular fashion and corresponding nodes connected to the core nodes expanding radially outward.

Thanks!