New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

real-value-graph-layout

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

real-value-graph-layout

A library with algorithms which lay out hierarchical graphs of nodes and links

latest
Source
npmnpm
Version
0.3.2
Version published
Maintainers
1
Created
Source

graph-layout Library

About

A library with algorithms which lay out hierarchical graphs of nodes and links

Types of layouts

  • Sankey
  • Circular Sankey
  • Hierarchical Sankey

Install

npm install graph-layout
yarn install graph-layout

How to use

Graphs will have the structure of

{
    nodes: [<node>,...],
    links: [<link>,...]
}

Nodes of the structure of

{ 
    id: <id>
    parent: <parentId>
}

Links have the structure of

{ 
    source: <node id>,
    target: <node id>,
    relationship: <type of relationship>
}

FAQs

Package last updated on 04 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts