-
Notifications
You must be signed in to change notification settings - Fork 113
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
Feat/slicing kedro viz #1872
Feat/slicing kedro viz #1872
Conversation
Signed-off-by: rashidakanchwala <[email protected]>
…/kedro-viz into feat/slicing-kedro-viz
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just had a first look. I don't see anything major I would change. It's looking good! Can still get on a call to have you explain things in more detail though. I'm sure I'm missing something.
const getEdges = createSelector( | ||
[getEdgeIDs, getEdgeSources, getEdgeTargets], | ||
(edgeIDs, edgeSources, edgeTargets) => | ||
edgeIDs.map((id) => ({ | ||
id, | ||
source: edgeSources[id], | ||
target: edgeTargets[id], | ||
})) | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason this logic can't live within the getEdgesByNode
selector? It doesn't look like you're using it anywhere else.
* @returns {Object} An object containing edges mapped by source and target nodes. | ||
*/ | ||
|
||
export const getEdgesByNode = createSelector([getEdges], (edges) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think you need to export this, do you?
src/selectors/filtered-pipeline.js
Outdated
filteredNodeIDs = linkedNodesBetween; | ||
|
||
return filteredNodeIDs; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need to reassign it here?
filteredNodeIDs = linkedNodesBetween; | |
return filteredNodeIDs; | |
return linkedNodesBetween; |
Signed-off-by: huongg <[email protected]>
I am closing this PR but leaving the branch for @Huongg to work from it. |
Description
Experimentation on filtering pipelines by slicing them the way kedro does.
Development notes
QA notes
Checklist
RELEASE.md
file