/d3CircleLayout

Alternative layout for d3 pack layout

Primary LanguageJavaScriptMIT LicenseMIT

d3CircleLayout

a layout on top of d3.pack layout to make circles visually more visible for some cases. Tested with d3 version 3.

Usage

After applying pack layout, apply circle layout like following

(new d3CircleLayout(nodes)).apply();

Here is the visual difference between standard pack layout and circle layout.

alt text

alt text