Skip to content

Latest commit

 

History

History
 
 

embed-widget

Embedded Deephaven Widget

This project uses Vite. It is to provide an example React application connecting to Deephaven and displaying a widget.

Running

To start the Embed Widget server, run npm install and npm start in the root directory of this repository. See the Getting Started section for more details.

Query Parameters

  • name: Required. The name of the widget to load

Advanced

Application Mode

See the guide for how to set up core in Application Mode: https://deephaven.io/core/docs/how-to-guides/application-mode/

Once Deephaven is running, you can open a widget with a specific name by adding the query param name, e.g. http://localhost:4010/?name=world

Configuring Server Address

By default, this project assumes you are hosting Deephaven with Python on the default port at http://localhost:10000. If Deephaven is running on a different port/server, update the VITE_CORE_API_URL environment variable to point to the correct server. See .env file for the default definition, and vite docs for other ways to set this environment variable.