node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



Build Status NPM version

A circular network component

Taking from the Hierarchical Edge Bundling by Mike Bostock.

Getting Started

Install the module with:

npm install biojs-vis-circularnet
var circularnet = require('biojs-vis-circularnet');
var data = [{name: "A", size: 4, imports: ["B"]},
{name: "B", imports: ["D"]},
{name: "C", imports: ["A","D", "E"]}, 
{name: "D", imports: []},
{name: "E", imports: []}]
var config = {diameter:460, diffInnerRadius: 20,tension: 0.85, data: data};
var obj = new circularnet(config);


Please submit all issues and pull requests to the greenify/biojs-vis-circularnet repository!


If you have any problem or suggestion please open an issue here.


This software is licensed under the Apache 2 license, quoted below.

Copyright (c) 2014, greenify

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.