GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - VisActor/VGraph: VGraph is a high-performance graph visualization and analysis engine for building interactive relation graphs, trees, DAGs, mind maps, and flow diagrams.

BranchesTags
Open more actions menu

Latest commit

 

History

37 Commits
37 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
common
common
 
 
docs
docs
 
 
packages
packages
 
 
share
share
 
 
skills/vgraph-development-assistant
skills/vgraph-development-assistant
 
 
tools/bundler
tools/bundler
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.lintstagedrc
.lintstagedrc
 
 
.prettierignore
.prettierignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
README.zh-CN.md
README.zh-CN.md
 
 
SECURITY.md
SECURITY.md
 
 
THIRD_PARTY_LICENSES.md
THIRD_PARTY_LICENSES.md
 
 
rush.json
rush.json
 
 

Repository files navigation

VGraph

VGraph, more than just a graph visualization engine, but also a solution for graph analysis.

Introduction • Demo • Tutorial •

English | 简体中文

Introduction

VGraph is the graph visualization and analysis engine of VisActor. The core capabilities are as follows:

  • Rich elements: Built-in multiple nodes, edges and other graph elements to meet the drawing needs of various graph analysis scenarios such as flowcharts, mind maps, and DAGs.
  • High performance: Based on the high-performance rendering engine, it supports smooth interaction of tens of thousands of nodes and edges.
  • Rich interaction: Built-in rich interaction, supports custom interaction to meet various interactive analysis needs.
  • Layout on demand: Supports a variety of built-in layouts and custom layouts, which can be combined and switched at will.

Repository Introduction

This repository includes the following packages:

  1. @visactor/vgraph: The core code repository of VGraph
  2. @visactor/react-vgraph: The VGraph component encapsulated based on React
  3. @visactor/react-vgraph-ui: Some React UI components for VGraph

Installation

📦 Installation

# npm
$ npm install @visactor/vgraph

# yarn
$ yarn add @visactor/vgraph

📊 A Chart Example

import { Graph } from '@visactor/vgraph';
// prepare data
const data = {
    nodes: [{
        id: 'Hello',
        x: 100,
        y: 100,
    }, {
        id: 'World',
        x: 300,
        y: 100,
    }],
    edges: [{
        source: 'Hello',
        target: 'World',
    }],
};
const spec = {
  //  specify the graph container
  container: 'graphContainer',
  width: 800,
  height: 600,
  //  configure node style
  setDefaultNode(nodeData) {
      return {
          label: nodeData.id,
          width: 100,
          height: 40,
      }
  }
};
// create graph instance
const vgraph = new Graph(spec);
// import data
vgraph.data(data);

Development

First of all, please install @microsoft/rush

$ npm i --global @microsoft/rush

Then clone locally:

# clone
$ git clone [email protected]:VisActor/VGraph.git
$ cd vgraph
# install dependencies
$ rush update
# start vgraph development server
$ rush start
# start document development server
$ rush docs

Maintainers can read the release guide for npm publishing.

🔗 Related Links

  • Homepage
  • Graph Examples
  • VGraph Tutorials
  • CodeSandbox Template for bug reports

🤝 Contribution

If you would like to contribute, please read the Code of Conduct and our contributing guide first。

Small streams converge to make great rivers and seas!

License

This project is licensed under the MIT License.

Third-party runtime and peer dependency licenses are listed in THIRD_PARTY_LICENSES.md.

About

VGraph is a high-performance graph visualization and analysis engine for building interactive relation graphs, trees, DAGs, mind maps, and flow diagrams.

visactor.io/vgraph

Topics

canvascanvas-renderingdagdata-visualizationflowchartgraphgraph-layoutgraph-visualizationinteractive-visualizationjavascriptmind-mapnetwork-graphreactreact-graphrelation-graphtree-graphtypescriptvgraphvisactorvisualization

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

47 stars

Watchers

1 watching

Forks

6 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.