Fixed issue with graph layouts rendering nodes off the screen.

Changed the charge and gravity properties of the physics model to be
based off the number of nodes and the size of the visual area.
Fixed issue with specifying relative URLs.