UNPKG

@gravity-ui/graph

Version:

Modern graph editor component

21 lines (20 loc) 812 B
import { Graph, TGraphConfig } from "../graph"; import { SelectionService } from "../services/selection/SelectionService"; import { BlockListStore } from "./block/BlocksList"; import { ConnectionsStore } from "./connection/ConnectionList"; import { PortsStore } from "./connection/port/PortList"; import { GroupsListStore } from "./group/GroupsList"; import { GraphEditorSettings } from "./settings"; export declare class RootStore { blocksList: BlockListStore; configurationName: string; connectionsList: ConnectionsStore; settings: GraphEditorSettings; groupsList: GroupsListStore; portsList: PortsStore; selectionService: SelectionService; constructor(graph: Graph); getAsConfig(): TGraphConfig; reset(): void; } export type { TGraphSettingsConfig } from "./settings";