Skip to content

RaleighHan/pixi-network-visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixi network visualization

This is a demonstration for large-scale network visualization with Pixi.js.

About Pixi.js

Pixi.js is a JavaScript library for HTML5 2D animation rendering. Pixi.js has full support for WebGL, which leverages GPU to accelerate the rendering process. Also, Pixi.js provides useful interfaces for creating rich and interactive graphics. Please refer to Pixi git and official website for more information.

About this demo

This demonstration is about using Pixi.js to create large-scale interactive network visualization. Although js libraries like Sigma.js and ECharts can achieve similar effects, I choose Pixi.js because of its flexibility and full-support for WebGL acceleration. I started this project as a part of Acemap, an academic map system developed by IIOT@SJTU. Data used in this demo (data/cs_top.json) is from Acemap database, which is a citation network of all top papers (citation 1000+) in the field of Computer Science. In this network, there are 15,745 nodes and 69,839 edges in total. Layout is obtained by applying ForceAtlas2 algorithm in Gephi.

Features

Except for WebGL-based nodes and edges rendering, many useful features are implemented to create interactive visualization:

  • Zoom in / Zoom out zoom
  • Dragging drag
  • Click to highlight neighbors (right click to reset) click
  • Mouseover / Mouseout (show tooltip) hover
  • Double click event dbclick
  • Search (try it by using search(str) in demo.html) search

TODO

  • Optimize time performance of neighbors highlighting
  • Gephi-like curved edges
  • Lower memory cost

About

Demo for large-scale network visualization with Pixi.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages