Commit Graph

136 Commits

Author SHA1 Message Date
Dennis Hotson
da536e5a0f Removed crufty .gitignore file 2011-12-23 23:05:06 +11:00
Dennis Hotson
3c95b6312b Merge pull request #10 from GunioRobot/clean
Hi! I cleaned up your code for you!
2011-12-18 07:05:29 -08:00
Gun.io Whitespace Robot
dbc44e04e9 Remove whitespace [Gun.io WhitespaceBot] 2011-12-18 06:50:34 -05:00
Dennis Hotson
2bf99814b5 Merge branch 'demo-raphael' of https://github.com/slig/springy
* 'demo-raphael' of https://github.com/slig/springy:
  Very crude demo using RaphaelJS
2011-11-26 13:59:38 +11:00
Dennis Hotson
9a196f8673 Merge branch 'review'
* review:
  Avoid divide by zero and massive forces at small distances
  Renamed f -> a. f is actually representing acceleration.
  A few updates based on code review by amcameron
  add review comments for springyui.js
  Add some code review comments.
2011-11-26 13:58:50 +11:00
Dennis Hotson
686abaa367 Avoid divide by zero and massive forces at small distances 2011-11-26 13:56:10 +11:00
Dennis Hotson
e453d7728a Renamed f -> a. f is actually representing acceleration. 2011-11-26 13:44:32 +11:00
Tiago Serafim
74dfafc7ce Very crude demo using RaphaelJS 2011-11-25 16:58:13 -02:00
Dennis Hotson
84bf82ad5e Merge pull request #6 from codr/master
Added detachNode
2011-10-20 17:14:16 -07:00
Cody
8995a60602 Consistent brace style 2011-08-23 11:50:42 -06:00
Cody
4b66715613 Merge branch 'master' of https://github.com/dhotson/springy 2011-08-23 11:49:10 -06:00
Cody
fa333bd664 added Graph.detachNode which removes edges associated with a given node. 2011-08-23 11:48:57 -06:00
Dennis Hotson
b791fafe9a A few updates based on code review by amcameron 2011-08-15 16:52:18 +10:00
Dennis Hotson
a0d882d360 Fallback requestAnimationFrame has a 10ms setTimeout 2011-08-15 14:20:58 +10:00
Dennis Hotson
24420595c0 Added credit 2011-08-15 14:20:48 +10:00
Dennis Hotson
376e116714 Merge branch 'master' into review
* master:
  Oops, forgot to create local var

Conflicts:
	springyui.js
2011-08-15 14:16:56 +10:00
Dennis Hotson
b4687059d2 Oops, forgot to create local var 2011-08-15 14:15:16 +10:00
Dennis Hotson
ddc71c42c6 Merge remote branch 'origin/master' into review
* origin/master:
  Attach graph and layout objects to springyui element.
  Consistent brace style
  Eliminate repeated calls to layout.start()
  Minor tidy ups

Conflicts:
	springy.js
	springyui.js
2011-08-15 14:14:43 +10:00
Dennis Hotson
193e99a619 Attach graph and layout objects to springyui element. 2011-08-15 14:10:13 +10:00
Dennis Hotson
a918da30a4 Consistent brace style 2011-08-15 14:09:45 +10:00
Andrew Cameron
e04ea5a767 add review comments for springyui.js 2011-08-14 11:57:04 -04:00
Andrew Cameron
d549ac1d98 Add some code review comments. 2011-08-14 11:18:04 -04:00
Dennis Hotson
8f869d427a Eliminate repeated calls to layout.start() 2011-08-13 20:56:40 +10:00
Dennis Hotson
affbca426c Minor tidy ups
- whitespace fix
- added a few var's
2011-08-12 19:59:09 +10:00
Dennis Hotson
14aea1afe6 Merge pull request #4 from codr/master
Avoid NaN errors
2011-08-10 17:31:48 -07:00
Cody
aad5e3cb80 Merge branch 'master' of https://github.com/dhotson/springy 2011-08-10 16:44:52 -06:00
Cody
5837787992 changed divide method to avoid NaN errors 2011-08-10 16:44:50 -06:00
Dennis Hotson
12bbab87c2 Cache text width calculation for better performance 2011-08-11 02:33:31 +10:00
Dennis Hotson
0aea9582ff Smoother animation using requestAnimFrame 2011-08-11 02:27:28 +10:00
Dennis Hotson
3662393702 Fixed bug in Graph.prototype.merge
Was using 'graph' var instead of 'this'.. thanks to Nessia for reporting this.
2011-06-22 09:21:14 +10:00
Toby Cole
15dbcf89d5 Updating demo to work with named args in the constructor 2011-02-22 09:30:40 +00:00
Toby Cole
2bc3f927bd Fixing font definitions so systems without Verdana (eg Linux) don't look so bad.
Also moving the constructor of springyUI to use named parameters so we can specify the dampening repulsion and stiffness in the constructor.
2011-02-22 09:25:37 +00:00
Dennis Hotson
6eabd21ffd Added demo link. 2010-06-15 22:21:28 +10:00
Dennis Hotson
bc489ac33e Updated springy to latest code. 2010-06-15 21:15:40 +10:00
Dennis Hotson
af82e4060b Whole bunch of improvements. 2010-04-17 00:38:39 +10:00
Dennis Hotson
8f9d858ad1 Initial commit 2010-04-16 12:20:10 +10:00