Skip to content

A distributed graph computing platform that enables simple visual analysis of large-scale relational data.

Notifications You must be signed in to change notification settings

TianZonglin/BigEYES

Repository files navigation

Initial Works

Web Container

  • install http-server: npm install http-server -g
  • run cd boot
  • run http-server -p 1234
  • visit localhost:1234 in Chrome

Here, we can see the whole system, but no interaction we can do cause we still need to establish the connection between frontend and backend by using Websocket. Of course, there would have some red errors if you open the console part of debug functions by F12.

Backend with Websocket

  • run cd sboot
  • change the local link of your datas, the first one is located around /getjson, and the another one is /getlist
  • run node app.js then you can see the output like Canvas WebSocket server listening on port 7001
  • now, refresh the webpage without any cache, then you can find the red errors gone, and the console will show text like canvasSocket open

Here, you can use this system, but are limited in using drawing data, if you want to link the function about executing tasks with Spark, then you need to do this below. Of course, if you click the button of GO, it would crash cause no Spark cluster is connected.

Enhance the functions with Spark

  • presume that you have established a normal Spark cluster.
  • put the computing zip package onto the master node
  • modify the ip-address of app.js, including all places that have the ip 219.216...

Now, you can see it's okay if you click GO, and the part of Monitor could work as well.

That's all.

BigEYES.png-1520.5kB

Previous Works

To-Do List

  • 4/03. Change SPARK/ GRAPHX codes to achieve A, B, and C
  • 4/03. Upload input file into Hadoop/ Hdfs, combined with other parts
  • 4/02. Use webskt. to replace ajax-polling in the monitor module
  • 4/01. Fixable Coordinates CHECK NEW
  • 4/01. Canvas dynamically render more than one image
  • 4/01. B. Classified display with color and weight
  • 3/29. Apply EDGE pruning into graph layout *
  • 3/29. C. Muti-views of the canvas image
  • 3/29. Complexed canvas binding events
  • 3/29. A. Connect SELECT with canvas/ ajax+websocket NOW
  • 3/29. Canvas interaction and controls [finished]
  • 3/27. Cross domain *

Problems

  • 4/03. How to allow echarts' scatter mode zoom among Y-axis *
  • 4/01. How to create a code block running in the async mode *
  • 4/01. Can't get the value of req. body by body-parser in Node.js *

Finished

  • 4/03. Solved cross domain* by Node/ agent running in the backend
  • 4/03. Rewrited monitor module with webskt. for loosely-coupled
  • 4/03. Used websocket to transform JSON data constantly
  • 4/02. Solved drag() and scale() 's variables unification
  • 4/01. Used express, fs to fetch JSON file from back to front
  • 4/01. Created TODO page
  • 3/31. Optimized canvas render and finished Coordinates CHECK
  • 3/30. Finished canvas tools/ interaction and controls/ staynight
  • 3/29. Reported progress
  • 3/28. Run nodejs in Linux to execute jar
  • 3/28. Used Springboot to build backend
  • 3/28. Finished task monitor module by ajax polling
  • 3/27. Used Nginx to solve the cross domain
  • 3/26. Optimized HBase cluster
  • 3/25. New age started
  • 3/24. Rebuilt vis.jar and used spark rest API
  • 3/23. Rebuilt prev. Spark cluster and project
  • 3/23. How to determine a pow-law distribution
  • 3/21. Used Echarts to display info
  • 3/21. Finished Canvas drags and scale
  • 3/20. Solved Canvas serration
  • 3/20. Used Canvas instead of WebGL, D3js, and HT for Web
  • 3/20. Built css frame by iBootstrap

Input

# Directed graph (each unordered pair of nodes is saved once): Wiki-Vote.txt 
# Wikipedia voting on promotion to administratorship (till January 2008). Directed edge A->B means user A voted on B becoming Wikipedia administrator.
# Nodes: 7115 Edges: 103689
# FromNodeId	ToNodeId
30	1412
30	3352
30	7478
...
3	54

Version 2.0

BigEYES.png-1520.5kB

About

A distributed graph computing platform that enables simple visual analysis of large-scale relational data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published