graphify icon indicating copy to clipboard operation
graphify copied to clipboard

Question: How to combine several graphs into one?

Open kurellajunior opened this issue 7 months ago • 5 comments

Situation

Our product is spread across several (20+) modules, each in a separate Git repo and project. (aka Microservice Architecture). The overall domain model is the same (in our heads and in Miro documentation).

I create a graph with Graphify in each project to ease the usage of each. (Most are big enough to gain some benefit solo from this)

Obviously, most Features need changes in several repositories.

Question

Can I use Graphify to help Claude (or other tools) to get an understanding of the whole landscape? Because even with the Opus+++ Tier it would be impossible to get the whole product into context (and not desirable as only small parts would be needed for a single Feature development)

Any insight appreciated, Jan

kurellajunior avatar Apr 28 '26 06:04 kurellajunior

we can have a chat on a call, if possible send me an invite for whenever you are available. email- [email protected]

safishamsi avatar Apr 28 '26 10:04 safishamsi

What if we had a --flag to make the merge-graph command treat the merged json as the default? Has anyone had any luck with a clean solution. The LLM's don't always treat the --graph merged.json instruction as priority. ie: /graphify query "find the needle" --graph merged.json

kylebehse avatar May 03 '26 05:05 kylebehse

My personal solution was to ask claude to make a top level index of the project with sub-level descriptions of important flows in their own files and to have graphify run on that before going towards it's own sub-graphs when applicable. Not as granular as having every node connected and highlighting the interfaces between the modules, but was useful nevertheless.

What could help is having claude define the per-module interfaces and then keeping a copy at the top level graph as well as on each of the per-module graphs, which would give you the closest thing to a complete cross-module graph

TimonDalton avatar May 21 '26 12:05 TimonDalton

@kurellajunior so i had similar problem so when i was using understand-anything similar to graphify i found one thing when a service is scanned and graph is made it has cross-reference nodes too thus we connect multiple graphs together and ask any agent( i was using pi + sonnet 4.6 ) to do so, i had like 50+ services and i was able to connect to a unified-knowledge-base. It took like 40 minutes..

LemonTeaSipSip avatar Jun 11 '26 06:06 LemonTeaSipSip

@kurellajunior I did own solution on top of graphify. as current version provide possibility to create global index, then I do next:

  1. each project has own graphify-out tool
  2. in the graphify-mesh I configure to merge them into one global graph each time when it's updated
  3. in AI agents I force them to use graphify-mesh mcp to make queries to this global graph instead of original graphify mcp

in this setup AI agents could fire queries to different projects.

notes:

  • I do not pretend to have it as right solution, but better than nothing.
  • this is experimental tool, tested on private repositories and has been decoupled

OxCom avatar Jul 21 '26 18:07 OxCom