Add graphlib/alg and graphlib/data JSDoc TypeScript types#61
Merged
tbo47 merged 4 commits intotbo47:mainfrom Dec 3, 2025
Merged
Add graphlib/alg and graphlib/data JSDoc TypeScript types#61tbo47 merged 4 commits intotbo47:mainfrom
graphlib/alg and graphlib/data JSDoc TypeScript types#61tbo47 merged 4 commits intotbo47:mainfrom
Conversation
43bf55b to
d7c52f2
Compare
tbo47
approved these changes
Dec 3, 2025
Owner
|
@aloisklink Do you mind rebasing and force push? To see if the test passes/ |
I've mostly copied over the documentation from the graphlib wiki, making some minor changes to match the JSDoc/TSDoc tags. See: https://github.com/dagrejs/graphlib/wiki/API-Reference
Documentation has been copied from https://github.com/dagrejs/graphlib/wiki/API-Reference
d7c52f2 to
69fbd75
Compare
The current graphlib wiki is now at https://github.com/dagrejs/graphlib
Collaborator
Author
|
Fixed! Thanks @tbo47. I also noticed one tiny issue, I forgot to update one of the old The cpettitt GitHub username has been taken over by a white-hat hacker, so even though it might safely redirect now to https://github.com/dagrejs/graphlib, maybe it won't in the future (https://github.com/cpettitt/dagre-d3 no longer redirects). |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On top of #60, this PR also adds JSDoc types to the files in
graphlib/alg,graphlib/data, andgraphlib/json.js.I've mostly copied over the documentation from the graphlib wiki, making some minor changes to match the JSDoc/TSDoc tags.
See: https://github.com/dagrejs/graphlib/wiki/API-Reference
CI is failing right now, since it depends on the changes in #60.