@litt1e-p/graphi

a high performance d3.js graph tree data visualization
385 1
Install
npm install @litt1e-p/graphi
Latest Version:0.1.0
Vue:2
License:MIT
Last Updated:Nov 2, 2021
Links: GitHub  ·  npm
Maintainer: litt1e-p

Graphi

a high performance d3.js graph tree data visualization component for vue

Installation
npm i @litt1e-p/graphi
Usage
  1. global registration
// in main.js
import Graphi from '@litt1e-p/graphi'
import '@litt1e-p/graphi/dist/graphi.css'

Vue.use(Graphi)
  1. use as vue component
// in your vue file
import { Graphi } from '@litt1e-p/graphi'

export default {
  components: {
    Graphi
  }
  ...
}

Configuration

sample data for v-model:

{
  "name": "d3js.org",
  "childs": [
    {
      "name": "child name 1"
    }
    ...
  ],
  "members": [
    {
      "name": "member name 1"
    }
    ...
  ],
  "outsides": [
    {
      "name": "other name 1"
    }
    ...
  ]
}
<graphi v-model="your data to visualize"/>

for more detail

<graphi v-model="your data to visualize" :conf="{ width: 1000, height: 500, zoomToFit: true, bubbleRadius: 60, arrowOffset: 2, fitScale: 0.6, relations: {'childs': 'sons', ...}}"/>
Screenshots

Related Packages

vnodes

Vue components to create svg interactive graphs, diagrams or node visual tools.

6,438 141
@livereader/graphly-d3

Library for creating powerful and interactive graph visualizations with ease.

4,176 31
@memotux/nuxt-vue-plot

Nuxt module for @memotux/vue-plot — declarative data visualization with Observab...

376 2
vue-c3

vue-c3 is a reusable vue component for c3 charts

60,819 79
@mx-sose-front/mx-sose-graph

A Vue3 graph visualization plugin library

7,983

Version History

Version Released Vue License
0.1.0 ^2.6.12 MIT
0.0.9 ^2.6.12 MIT
0.0.8 ^2.6.12 MIT
0.0.7 ^2.6.10 MIT
0.0.6 ^2.6.10 MIT