Appearance
Subgraph layouts around geo cores new
This example shows how to position graph subgraphs in geo mode around a few "core" nodes anchored to real locations in Minneapolis, US. Only the core nodes carry coordinates; their surrounding subgraphs have none and are placed with ogma.geo.runLayout, which lays them out on a local equidistant plane and reprojects the result back onto the map. Three subgraphs use the radial layout to form a circle around their core, while one uses the hierarchical layout to spread a tree. A scale control confirms the real distances between the reprojected nodes.