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

arccore.graph support developer-defined serializable context object attached to DirectedGraph #5

Open
ChrisRus opened this issue Dec 20, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ChrisRus
Copy link
Member

DirectedGraph provides support for vertex and edge "properties" - arbitrary developer-defined data attached to vertices and edges in a DirectedGraph container instance. This is useful. But, oftentimes you're building a graph based on some data structure produced by another source and you're effectively indexing it. i.e. you're not transforming the input into an equivalent graph representation but rather building a graph to keep track of some feature(s) of the input data.
In these cases, we want to use internal properties to hold metadata references back to source data (e.g. data structure paths, keys, etc). And, we want to maintain the input as it is so that the information stored in the derived graph can be used to dereference back to the data.
What this feature allows is for the external data to be associated with the derived graph such that serializing the derived graph also serializes the "context" the graph is associated with.

@ChrisRus ChrisRus added the enhancement New feature or request label Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant