Skip to content

sebhtml/force-graph

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
This is a force-directed graph viewer with HTML5 canvas and javascript.

Author: Sébastien Boisvert

== Demo ==

http://sebhtml.github.com/force-graph/

== Motivation ==

I implemented this program while waiting for my jobs to complete on the super-computer.

== Graphical interface ==

Operations:

- Start or stop the time

- Reset the view

- View or hide vertices
- View or  hide edges

- Increase or decrease attraction
- Increase or decrease repulsion

- Toggle the type between 'linear', 'star' and 'random'
- Increase or decrease the number of vertices
- Increase or decrease the degree

- Increase or decrease the vertex radius
- Increase or decrease the edge length

- Add or remove a vertex
- Add or remove a edge

== Algorithms ==

It uses Coulomb's law for repulsion 

and 

Hooke's law for attraction.


== How to create a github page ===

godzilla ] git branch -a
* master
  remotes/origin/master

godzilla ] git symbolic-ref "refs/heads/gh-pages" "refs/heads/master"
godzilla ] git branch -a

  gh-pages -> master
* master
  remotes/origin/master

godzilla ] git push --mirror

About

This is a force-directed graph viewer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published