-
Notifications
You must be signed in to change notification settings - Fork 14
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
Moving logic with a graph to a separate library in NPM. #939
base: main
Are you sure you want to change the base?
Moving logic with a graph to a separate library in NPM. #939
Conversation
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.
Two minor comments
}); | ||
|
||
const edges = elements.flatMap((node) => |
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.
Can we move the transformation from elements to nodes and edges into the renderGraph method?
@@ -1,163 +1,30 @@ | |||
<!DOCTYPE html> | |||
<html> | |||
<head> | |||
<head> | |||
<title>Visualize DAG with Cytoscape.js</title> |
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.
Could you please rename this to "DataSQRL Deployment Graph Visualization"
This looks good. This PR is ready to be merged once we have made the changes I slacked you in the visualization library. Let's keep this open until then. |
The page has been moved to a separate library and rewritten in TypeScript for ease of further development and support, as it is used in both the sqrl repository and the client-frontend repository.
Source code repository - https://github.com/DataSQRL/dag-visualization/
NPM package page - https://www.npmjs.com/package/@datasqrl/dag-visualization
Compiled code - https://www.unpkg.com/browse/@datasqrl/dag-visualization@latest/