UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

57 lines (54 loc) 1.12 kB
/** * Utilities to visualize the data model of a Knowledge Graph Service. * * NOTE TO DEVS * MINIMIZE USE OF INTERNAL SDK ACCESS! * To the maximum extent possible, ArcGIS Knowledge Studio should use the same public interface as * PS/3rd part developers. * * @internal * @internal */ import type KnowledgeGraph from "../../rest/knowledgeGraph/KnowledgeGraph.js"; /** * @internal * @since 5.0 * @internal */ export interface DataModelViewProperties { /** * @internal * @since 5.0 */ container: HTMLDivElement; /** * @internal * @since 5.0 */ kg: KnowledgeGraph; } /** * @internal * @since 5.0 * @internal */ export interface DataModelViewReturnType { /** * @internal * @since 5.0 */ load: () => Promise<void>; /** * @internal * @since 5.0 */ destroy: () => void; } /** * @param properties - The options object for the datamodel view. * @returns An object with load and destroy functions for the data model view. * @internal * @since 5.0 * @internal */ export function getDataModelView(properties: DataModelViewProperties): DataModelViewReturnType;