1. A method for generating a graphical representation of a graph comprising a plurality of nodes and a plurality of edges, comprising: using a processor to perform steps comprising: determining, for each of the nodes of the graph, a position of the node within a layout of the graph; wherein the positions of the nodes within the layout of the graph are determined using a force model comprising a substantially linear repulsive force in a first region, a substantially exponential repulsive force in a second region, and an attractive force in a third region; wherein, for each of a plurality of pairs of nodes of the graph for which the force model is used, the region of the force model that is used is determined using a distance between the nodes in the pair of nodes; and generating a graphical representation of the graph using the determined positions of the nodes within the layout of the graph.