I have a graph using a ForceDirectedLayout. The graph is based on the “Path Animation” sample.
The JSON data is constantly updated via SQL database. For the most part, it works well, but on occasion, after adding data that creates a new link between nodes, the nodes get super small and spread out. The graph goes from being readable with minimal scrolling, to basically unusable. What is the best way to control the spacing and size of the nodes?