Skip to content

Youx/network-canvas

Repository files navigation

network-canvas

What it is

network-canvas is a reimplementation of github's network graph using HTML5 canvas element instead of flash.

AFAIK, Canvas is supported by chrome, firefox 3+, opera and safari, so unless you are using IE or an old version of these browsers you shouldn't have any problem.

Note that the original network flash file is 110kB large. The network.js file is only 25kB! Even better, it can be shrinked to less than 4kB by using YUICompressor on the file and gzip compression on your server.

Live example

Check this out!

How to use it

You will need to have Thin installed (use gem).

Run ./server.sh, then just point your browser to http://localhost:3000/<user>/<repo>/network to get the network graph for a given user/repository.

Example : http://localhost:3000/mojombo/eventmachine/network

Screenshot

Screenshot as of 23/10/2009

Licensing

This piece of code is licensed under a BSD License (specifically : Simplified BSD License / FreeBSD License) This means you only need to give credit where credit is due when distributing it. See the COPYING file for more information.

HOWEVER

I would be extremely grateful if you could contribute back the changes you make. I won't force it out of you, but think of it as being civil. Thanks! :)

About

An implementation of github "network" graph using HTML5 canvas instead of flash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages