UNPKG

@kieler/klighd-core

Version:

Core KLighD diagram visualization with Sprotty

11 lines 754 B
import { Container } from 'inversify'; import { IActionDispatcher } from 'sprotty'; import { Viewport } from 'sprotty-protocol'; /** Diagram type that is communicated with the diagram server. */ export declare const diagramType = "keith-diagram"; /** Queries and returns an ActionDispatcher from the given DI Container. */ export declare function getActionDispatcher(container: Container): IActionDispatcher; /** Starts a model communication with the diagram server by dispatching a model request. */ export declare function requestModel(actionDispatcher: IActionDispatcher, sourceUri: string): Promise<void>; export declare function getBookmarkViewport(x: number, y: number, zoom: number): Viewport | null; //# sourceMappingURL=external-helpers.d.ts.map