anvaka / anvaka/ngraph.offline.layout
Example of how read positions in the frontend
- Dominant language
- JavaScript
- Stars
- 35
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Hello, thanks for your amazing work on graphs.
I'm using ngraph.offline.layout on a server to precompute the positions, however, I have trouble figuring out how to decode the binary data in the frontend.
Should I use [dataview](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView/getInt32) ?
Could you add a little example in readme ?
thanks
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the README and the ngraph.offline.layout output format to understand how precomputed positions are stored. Add a small frontend example showing how to decode the binary data, including whether DataView is appropriate; done means a reader can reproduce the position lookup from the README alone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation, frontend
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100