-
Notifications
You must be signed in to change notification settings - Fork 0
Degree filter on large query #416
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
base: main
Are you sure you want to change the base?
Changes from 5 commits
482a801
cae19b5
a090a5f
468387f
b53bacd
d10dbc3
ba9a959
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -78,6 +78,7 @@ const { | |
| selectedHops: 1, | ||
| nodeDegreeDict: {}, | ||
| maxDegree: 0, | ||
| minDegree: 0, | ||
| networkPreFilter: null, | ||
| queriedNetwork: false, | ||
| filteredNetwork: false, | ||
|
|
@@ -389,6 +390,10 @@ const { | |
| state.nodeDegreeDict = degreeObject.nodeDegreeDict; | ||
| }, | ||
|
|
||
| setMinDegree(state, minDegree: number) { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't have a setMaxDegree, why can't we just get this info from
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I want to keep it separate because in
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We met to discuss this. There are likely some edge cases that this will break |
||
| state.minDegree = minDegree; | ||
| }, | ||
|
|
||
| setDegreeNetwork(state, degreeRange: number[]) { | ||
| // Determine correct network to use | ||
| let baseNetwork: Network = { nodes: [], edges: [] }; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.