Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support storing multiple graphs per file #7

Open
daniel-j-h opened this issue Jan 15, 2023 · 0 comments
Open

Support storing multiple graphs per file #7

daniel-j-h opened this issue Jan 15, 2023 · 0 comments

Comments

@daniel-j-h
Copy link
Member

At the moment the spec stores a single graph which might contain disconnected components. We should support the use case where we want to store many mid-size to small graphs in the same file, so that we don't need to create one file per graph.

To implement multiple graphs in the spec, maybe it's good enough to have a new uint tag per graph entity that tells us which graph this data is associated with.

e.g.

GraphChunk
  graphId = 4
  offsets = [..]
  targets = [..]

this graph chunk is for the graph with id 4; something like this?

Related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant