-
Notifications
You must be signed in to change notification settings - Fork 0
Maintenance guide #24
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?
Conversation
…DO and example code to suggesteed changes
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.
some minor suggestions. otherwise looks good
} | ||
``` | ||
|
||
4. **Test the visualization**: Create a test query that uses the new node type and verify that it renders correctly. |
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.
Should also include a reference for where to put the test and how to work w/ the snapshot testing
LIBRARY_GUIDE.md
Outdated
|
||
4. **Test with complex queries**: Verify that visualizations work correctly with complex, nested queries. | ||
|
||
5. **Consider performance**: For very large ASTs, consider optimizations to improve rendering speed. |
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 is probably too vague for a suggestion. Think we can just opt to remove it.
LIBRARY_GUIDE.md
Outdated
|
||
### Utility Functions | ||
|
||
- **`escapeGraphvizLabel(String text)`**: Escapes special characters in labels. |
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.
nit: can provide some rationale that graphviz labels need to escape special characters
|
||
|
||
|
||
|
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.
out of scope for this PR but this file from the other unmerged PR is included. a couple ways to fix
- create a different branch with just the
LIBRARY_GUIDE.md
file or - set the target branch for this PR to the other PR's branch (this will eliminate the redundant commits)
…nal for escape characters
Issue #, if available:
none
Description of changes:
Created Library Guide for Graphviz-PartiQL-Lang
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.