Skip to content
Open Garphield

Make a dense network graph readable

Part 2 of Python to workbench and back.

Download the notebook project and open it in Garphield, or choose Open in Garphield from the notebook view.

The Les Misérables graph has 77 nodes and 254 relationships. Backbone keeps the nodes and draws a structural edge set; Full restores every relationship.

Garphield showing the Les Misérables network in Backbone view
Backbone reduces edge competition while the complete graph remains available.

The switch changes the drawing, not the project. It does not alter exports or graph fingerprints.

const view = window.garphield.view();
console.log(view.detail, view.rendered, view.hiddenEdges);

Select the nodes you have placed by hand, switch to Force, and relax everything around them:

window.garphield.run("layout.set", { mode: "force" });
window.garphield.run("layout.relax", { hold: "selection" });

Use hold: "others" to tidy only the selection instead.

Garphield after a force relaxation that keeps a selected cluster fixed
The selected arrangement stays fixed while the surrounding graph settles.

Save the project or choose Return to notebook. The final part, Return to Python, compares what came back.