Skip to content

Commit

Permalink
Use ChartState in vegafusion-wasm (#521)
Browse files Browse the repository at this point in the history
* Reapply "Refactor to move ChartState to vegafusion core (#519)" (#520)

This reverts commit 713b159.

* Use ChartState in vegafusion-wasm

* format
  • Loading branch information
jonmmease authored Oct 17, 2024
1 parent 713b159 commit aa2817a
Show file tree
Hide file tree
Showing 48 changed files with 12,952 additions and 1,283 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@ __pycache__
/minio_data/

/.ipynb_checkpoints/

# Examples
examples/**/node_modules
6 changes: 6 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ prost = { version = "0.12.3" }
prost-types = { version = "0.12.3" }
object_store = { version = "0.11.0" }
lazy_static = { version = "1.5" }
async-trait = "0.1.73"
futures = "0.3.21"

[workspace.dependencies.datafusion]
version = "42.0.0"
Expand Down
15 changes: 15 additions & 0 deletions examples/editor-demo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
### Chart Editor

This example is a simple chart editor that relies on the vegafusion-wasm package, and connects to the
vegafusion server over gRPC-Web

Launch gRPC-Web server with:
```
./vegafusion-server --port 50051 --web
```

Build and launch editor with
```
npm install
npm run start
```
Loading

0 comments on commit aa2817a

Please sign in to comment.