dagre-compound
A multi-level compound graph layout library based on dagre
Last updated 4 years ago by simplejason .
MIT · Repository · Original npm · Tarball · package.json
$ npm install dagre-compound 
SYNC missed versions from official npm registry.

Dagre Compound

A multi-level compound graph layout library based on dagre.

📦 Installation

$ npm i dagre-compound

🔨 Usage

import { buildGraph, HierarchyGraphNodeInfo } from 'dagre-compound';

const data = {
    nodes: [
      { id: '0-1'},
      { id: '0-2'},
      { id: '1-1'},
      { id: '1-2'},
    ],
    edges: [
      { v: '0-1', w: '0-2' },
      { v: '0-2', w: '1-1' },
      { v: '1-1', w: '1-2' }
    ],
    compound: {
      GROUP0: ['0-1', '0-2']
    }
}
const renderInfo: HierarchyGraphNodeInfo = buildGraph(data);

Current Tags

  • 0.1.0-beta.1                                ...           beta (7 months ago)
  • 0.0.13                                ...           latest (4 years ago)

17 Versions

  • 0.1.0-beta.1                                ...           7 months ago
  • 0.0.13                                ...           4 years ago
  • 0.0.12                                ...           4 years ago
  • 0.0.12-beta.0                                ...           4 years ago
  • 0.0.11                                ...           5 years ago
  • 0.0.11-beta.0                                ...           5 years ago
  • 0.0.10                                ...           5 years ago
  • 0.0.10-beta.0                                ...           5 years ago
  • 0.0.9                                ...           5 years ago
  • 0.0.8                                ...           6 years ago
  • 0.0.7                                ...           6 years ago
  • 0.0.6                                ...           6 years ago
  • 0.0.5                                ...           6 years ago
  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Downloads
Total 63
Today 0
This Week 0
This Month 49
Last Day 0
Last Week 16
Last Month 1
Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE