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

[Fix] Added option to not store the list of members during graph aggregation #15

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

kohlerca
Copy link
Collaborator

@kohlerca kohlerca commented Aug 7, 2023

The default behavior of the aggregate method of ProvenanceGraph is to store the identifiers of all members aggregated into a supernode as a string value in the members attribute. However, this may result in long strings that make the resulting GEXF file not readable by Gephi.

This PR fixes the behavior by adding a parameter to not store the aggregated member information. If an aggregated graph becomes unreadable, it can be generated with the record_members=False option.

@kohlerca kohlerca merged commit 6695ecf into main Aug 7, 2023
5 checks passed
@kohlerca kohlerca deleted the fix/aggregation_members branch August 7, 2023 17:24
@kohlerca kohlerca added the bugfix Fix for an identified bug label Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fix for an identified bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant