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

Ddg graph component #5

Merged
merged 9 commits into from
Jul 2, 2019
Merged

Conversation

everett980
Copy link
Owner

Implements graphComponent that uses reduxState.currentService.currentOp.currentStart.currentEnd.model and this.props.visKey to render a plexus graph.

image

super(props);
const { ddgModel } = props;
const { distanceToPathElems } = ddgModel;
this.graphModel = new GraphModel({ ddgModel });
Copy link
Collaborator

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?

Copy link
Owner Author

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

Copy link
Collaborator

@tiffon tiffon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@everett980 everett980 merged commit fc98987 into ddg-error-and-loading Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants