@dagster-io/dagster-plus-embed
v0.0.4
Published
A JavaScript library to embed Dagster+ iframes
Downloads
296
Readme
dagster-plus-embed package
Allows embedding dagster+ in an iframe. Available for Enterprise customers. Contact sales [email protected] to enable this feature.
Example usage:
import {DagsterPlusEmbed} from "@dagster-io/dagster-plus-embed";
const embedder = new DagsterPlusEmbed({
organizationName: 'test',
})
embedder.embed({
container: document.getElementById("widget-container"),
view: {
name: "asset-lineage",
queryString: "expanded=__repository__%40claire_dogfood_backend_search%3Agroup1%2C__repository__%40owen-da-perf-dogfood%3Aprocessed_data",
assetSelectionString: '*"perf_custom_2_processed_data_14"',
deployment: "prod",
}
}).then(() => {
console.log("Iframe embedded successfully")
}).catch((errorMessage) => {
console.error(errorMessage);
})