dominikbraun / graph

A library for creating generic graph data structures and modifying, analyzing, and visualizing them.
https://graph.dominikbraun.io
Apache License 2.0
1.8k stars 94 forks source link

Subgraphs #90

Open RealHarshThakur opened 1 year ago

RealHarshThakur commented 1 year ago

Hey folks, really cool library! I was wondering if its possible to have subgraphs. If I had two graphs of two kinds with different hashes, I'd like to connect them somehow.

dominikbraun commented 1 year ago

Hi! At the time, something like that doesn't exist.

There will be functions for merging and connecting graphs of the same type. Subgraphs of different types sound interesting - I haven't thought about that yet, but it makes sense.

christophetd commented 1 year ago

+1 for supporting subgraphs, currently have to use https://github.com/awalterschulze/gographviz to work with them