Skip to content
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

Sigma.js demo using node-rapids #392

Merged
merged 79 commits into from
Jun 24, 2022
Merged

Conversation

thomcom
Copy link
Contributor

@thomcom thomcom commented May 17, 2022

This PR introduces a api-server demo component that provides data for the extra-large-graphs demo at jacomyal/sigma.js#1252. Now that this is fresh and ready, I'll be cleaning up that PR for final submission starting next week.

Fastify HTTP Server Demo

This project is a Fastify-based node http server that allows
commands and data to be sent to and from the NVIDIA GPUs installed
on the host machine.

Essentially, the node-rapids system is provided as a backend to any
HTTP client. At this time only limited functionality is available to
load JSON files in the graphology graph dataset format, plus API
requests to request Dataframes and their Columns via apache-arrow.

Two endpoints, graphology/nodes and graphology/edges specifically
return pre-formatted arrays that can be used directly with the
sigma.js renderer. An
extra-large-graphs example PR is in the works
that utilizes this GPU-accelerated data for rendering larger datasets
than available via only CPU.

package.json Outdated Show resolved Hide resolved
Copy link
Collaborator

@trxcllnt trxcllnt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, just a few more comments about using public Series APIs instead of the private Column C++ APIs.

@thomcom
Copy link
Contributor Author

thomcom commented Jun 22, 2022

This is fully baked. Ship it.

@thomcom thomcom requested a review from trxcllnt June 22, 2022 23:28
@trxcllnt trxcllnt self-requested a review June 24, 2022 18:16
@thomcom thomcom merged commit b58430f into rapidsai:main Jun 24, 2022
@thomcom thomcom deleted the fea-sigma-and-server branch June 28, 2022 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants