-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ddg graph component #5
Conversation
Signed-off-by: Everett Ross <[email protected]>
Signed-off-by: Everett Ross <[email protected]>
packages/jaeger-ui/src/components/DeepDependencyGraph/Graph.tsx
Outdated
Show resolved
Hide resolved
packages/jaeger-ui/src/components/DeepDependencyGraph/Graph.tsx
Outdated
Show resolved
Hide resolved
super(props); | ||
const { ddgModel } = props; | ||
const { distanceToPathElems } = ddgModel; | ||
this.graphModel = new GraphModel({ ddgModel }); |
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.
Why not pass the ddgModel
in as a param instead of a property on an options object?
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.
this makes it easier to add more arguments in the future, such as visibilityHeuristic
Signed-off-by: Everett Ross <[email protected]>
Signed-off-by: Everett Ross <[email protected]>
Signed-off-by: Everett Ross <[email protected]>
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.
Looks good.
Implements graphComponent that uses
reduxState.currentService.currentOp.currentStart.currentEnd.model
andthis.props.visKey
to render a plexus graph.