| 1234567891011121314151617181920212223242526272829303132333435 |
- /// <reference types="react" />
- declare module NODEEDITOR {
- export class GlobalState {
- }
- }
- declare module NODEEDITOR {
- interface IGraphEditorProps {
- globalState: GlobalState;
- }
- export class GraphEditor extends React.Component<IGraphEditorProps> {
- constructor(props: IGraphEditorProps);
- render(): JSX.Element;
- }
- }
- declare module NODEEDITOR {
- /**
- * Interface used to specify creation options for the node editor
- */
- export interface INodeEditorOptions {
- /**
- * Defines the DOM element that will host the node editor
- */
- hostElement: HTMLDivElement;
- }
- /**
- * Class used to create a node editor
- */
- export class NodeEditor {
- /**
- * Show the node editor
- * @param options defines the options to use to configure the node editor
- */
- static Show(options: INodeEditorOptions): void;
- }
- }
|