Skip to content

Commit

Permalink
Merge pull request #182 from fwx5618177/feature/zhNew
Browse files Browse the repository at this point in the history
Add Simple Chinese Translation and Picture
  • Loading branch information
rustedgrail authored Aug 21, 2023
2 parents 89805ea + b186e80 commit 5c38a54
Show file tree
Hide file tree
Showing 13 changed files with 522 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
> English | [中文](ReadMe_CN.md)
# Graphlib

Graphlib is a JavaScript library that provides data structures for undirected
Expand All @@ -10,10 +11,13 @@ To learn more [see our Wiki](https://github.com/cpettitt/graphlib/wiki).

There are 2 versions on NPM, but only [the one in the DagreJs org](https://www.npmjs.com/package/@dagrejs/graphlib) is receiving updates right now.

```js
graphlib.alg.topsort(g)
// [ '1', '2', '3', '4' ] or [ '1', '3', '2', '4' ]
```

# License

Graphlib is licensed under the terms of the MIT License. See the
[LICENSE](LICENSE) file
for details.
Graphlib is licensed under the terms of the MIT License. See the [LICENSE](LICENSE) file for details.

[npm package manager]: http://npmjs.org/
Loading

0 comments on commit 5c38a54

Please sign in to comment.