- http://tutsplus.com/tutorial/writing-modular-javascript/
- https://github.com/aranm/scalable-javascript-architecture
- https://github.com/patrick99e99/scalable-js-architecture-app
- http://scaleapp.org/
- http://addyosmani.com/largescalejavascript/
- https://github.com/tcorral/Hydra.js/
- http://alanlindsay.me/kerneljs/
- http://terrifically.org/
| meteor create --example wordplay | |
| meteor bundle myapp.tgz | |
| tar xzf myapp.tgz | |
| cd bundle | |
| (create package json with settings below) | |
| jitsu databases create mongo <dbname> | |
| (grab dbstring) | |
| jitsu env set PORT 3000 | |
| jitsu env set MONGO_URL <dbstring> | |
| jitsu deploy |
| meteor create --example todos | |
| meteor bundle myapp.tgz | |
| tar xzf myapp.tgz | |
| cd bundle | |
| (create package json with settings below) | |
| jitsu databases create mongo <dbname> | |
| (grab dbstring) | |
| jitsu env set PORT 3000 | |
| jitsu env set MONGO_URL <dbstring> | |
| jitsu deploy |
| meteor create --example leaderboard | |
| meteor bundle myapp.tgz | |
| tar xzf myapp.tgz | |
| cd bundle | |
| (create package json with settings below) | |
| jitsu databases create mongo <dbname> | |
| (grab dbstring) | |
| jitsu env set PORT 3000 | |
| jitsu env set MONGO_URL <dbstring> | |
| jitsu deploy |
| if (Meteor.is_client) { | |
| Meteor.startup(function(){ | |
| Session.set('first', 1); | |
| Session.set('last', 'Srinivasan'); | |
| var fragment = Meteor.ui.render(function (){ | |
| return Template.hello({ | |
| first: Session.get('first'), |
| if (Meteor.is_client) { | |
| Meteor.startup(function(){ | |
| Session.set('first', 1); | |
| Session.set('last', 'Srinivasan'); | |
| var fragment = Meteor.ui.render(function (){ | |
| return Template.hello({ | |
| first: Session.get('first'), |
| function toArrayBuffer(buffer) { | |
| var ab = new ArrayBuffer(buffer.length); | |
| var view = new Uint8Array(ab); | |
| for (var i = 0; i < buffer.length; ++i) { | |
| view[i] = buffer[i]; | |
| } | |
| return ab; | |
| } |
| #!/bin/sh | |
| # @ account_no = xxxx | |
| # @ error = $(job_name).$(jobid).outerr | |
| # @ output = $(job_name).$(jobid).out | |
| # @ job_name = paraview | |
| # @ wall_clock_limit = 1:00:00 | |
| # @ environment = COPY_ALL | |
| # @ job_type = parallel | |
| # @ node = 4 | |
| # @ tasks_per_node = 4 |
| vips im_tiff2vips CancerImage.tif:0 ~/test.png | |
| #creating a tiff | |
| vips im_vips2tiff view1.png test-image.tif:deflate,tile:256x256,pyramid |
The range sliders at the top change the values for the force-directed algorithm and the buttons load new graphs and apply various techniques. This will hopefully serve as a tool for teaching network analysis and visualization principles during my Gephi courses and general Networks in the Humanities presentations.
Notice this includes a pretty straightforward way to load CSV node and edge lists as exported from Gephi.
It also includes a pathfinding algorithm built for the standard data structure of force-directed networks in D3. This requires the addition of .id attributes for the nodes, however.
Now with Clustering Coefficients!
Also, it loads images for nodes but the images are not in the gist. The code also refers to different network types but the data files on Gist only refer to the transportation network.