Hi Haiko,

Every node/vertex is distinct, although they are often encoded as the same values in the data. For example, one graph might have three vertices (1, 2, 3) and two edges (1-2, 2-3). Another graph which is independent from the previous one could have four vertices (1, 2, 3, 4) and three edges (1-3, 1-2, 3-4).

Thanks,
M

On Wed, Jul 10, 2019 at 8:25 AM Lietz, Haiko <Haiko.Lietz@gesis.org> wrote:
Hi Michael,

Are the nodes always the same or do they overlap somehow from graph to graph?

Haiko




Von: graph-tool [graph-tool-bounces@skewed.de]" im Auftrag von "Michael Vertolli [michaelvertolli@cmail.carleton.ca]
Gesendet: Mittwoch, 10. Juli 2019 14:16
An: graph-tool@skewed.de
Betreff: [graph-tool] Most Efficient Way to Save Lots of Small Graphs

Hi all,

I just wanted to check what the most performance efficient way is to save lots of small graphs. I have around 120k small graphs (<10 vertices) that are currently being saved via pickle. However, I suspect that saving them as a single large graph or as multiple separate .gt files might be more performance efficient.

Thanks in advance.
M
_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool