Explore a software ecosystem
Hundreds of packages, people and teams, and you want to see which packages matter and how they group.
The situation
For anyone who wants to see graphos on a graph that looks like real work. A graph of a million nodes cannot be drawn, but its communities can; the demo shows the same thing at a size you can look at: an invented software ecosystem, loaded by one example script.
Step by step
-
Problem 1. Hundreds of packages, no picture
Packages depend on each other, people maintain them, teams own them. As a list, nothing says which packages everything leans on, or how they cluster.
The demo graph: — · Most central package: — · Communities: —
-
With graphos 2. Load the demo
The example
08_demo_ecosystem.pyregisters the tenantdemoand loads it through the API in batches of 500. Every name in it is made up.It prints 443 nodes and 1,870 edges; running it again rewrites the same graph.
The demo graph: 443 nodes · 1,870 edges
-
How it works 3. Its schema, declared
graphos ships no labels of its own; the example declares them:
Package, withLibrary,FrameworkandToolbeneath it,Person,Team,OrganisationandTopic, and the edge typesDEPENDS_ON,MAINTAINS,MEMBER_OF,PART_OFandTAGGED.It also declares a search index on names, and label styles that size each package by its PageRank.
-
How it works 4. Metrics, with nothing extra
graphos computes degree, PageRank, components and betweenness over
DEPENDS_ON, beside the API, and stores them on the nodes. The example prints 280 packages in 2 components.PageRank's top package is
corelog; betweenness's isshiplite.Most central package: corelog, by PageRank
-
With graphos 5. Communities, with the igraph extra
With the optional igraph extra, the example runs Louvain, weighting
DEPENDS_ONmost, and prints 6 communities with a modularity of 0.741.Without the extra, the demo loads without them.
Communities: 6, modularity 0.741
-
How it works 6. See it in Explore
In the web UI, Explore draws the graph coloured by community. Selecting
corelogshows the metrics graphos computed for it: PageRank 0.1067, a degree of 21, all incoming.Where the Cypher console is on, the example also saves queries such as
most_depended_onandmaintainers_of.
What graphos does here
- Graph algorithms
- PageRank, components, betweenness and, with the extra, communities.
- Web UI
- Explore draws the graph, its groups and its map.
- Tenant
- The demo is one tenant, with the labels the example declares.
- Python client
- The example loads it with the Python client.
What shows it: Example
Example: the script is in graphos's repository and its printed results are quoted in the algorithms guide; it is checked by the linter in CI but not run there. The numbers in the screenshot match its output.
Shown by an example script in the repository, its output quoted in the docs.

Try it
Start graphos (with the igraph extra for communities), then run the example. The installation guide says how.
Related use cases
- Communities and key nodes, re-run cheaply · Find the graph's central nodes and its communities, and keep them current without rewriting the whole graph each time.
- An AI agent reads the graph · An AI agent should answer questions from the graph, read only what its person may read, and leave a record of every call.
- Load a big graph, and load it again · Tens of thousands of edges should go in fast, and sending them again after a failure should be safe.