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

Example #1

Merged
merged 2 commits into from
Aug 25, 2023
Merged

Example #1

merged 2 commits into from
Aug 25, 2023

Conversation

eacaps
Copy link
Owner

@eacaps eacaps commented Aug 25, 2023

An example of using a modified version of the early orb library in vue was requested in memgraph/orb#79 (comment). This branch can be used to demonstrate the issue using the first commit: c91a694 and then my temporary hacky solution in the second commit: 2e31898.

If you run vite using the first commit you will get a blank screen with an error loading the webworker:
Screenshot 2023-08-25 at 3 58 39 PM

The changes made in the second commit allow the _simulator to be set by the consumer and for this repo, that means using the MainThreadSimulator which will properly render the graph:

Screenshot 2023-08-25 at 4 04 00 PM

@eacaps eacaps merged commit 790de5f into main Aug 25, 2023
@eacaps eacaps deleted the example branch August 25, 2023 20:05
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.

1 participant