UNPKG

@xui/components

Version:

xUI Components for Angular

22 lines (21 loc) 1.02 kB
import { NodeGroup, NodePort } from './graph-view.types'; import { GraphViewService } from './graph-view.service'; import * as i0 from "@angular/core"; export declare class XuiNode { private graphViewService; id: string; title: string; inputs: NodePort[]; outputs: NodePort[]; constructor(graphViewService: GraphViewService); hasConnectedPort(port: string): boolean; getPortGroup(port: NodePort): NodeGroup; dragNode(): void; drag(event: DragEvent): void; dragStart(event: DragEvent): void; dragEnd(): void; drop(event: DragEvent): void; denyConnection(event: DragEvent): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<XuiNode, never>; static ɵcmp: i0.ɵɵComponentDeclaration<XuiNode, "xui-node", never, { "id": { "alias": "id"; "required": false; }; "title": { "alias": "title"; "required": false; }; "inputs": { "alias": "inputs"; "required": false; }; "outputs": { "alias": "outputs"; "required": false; }; }, {}, never, never, false, never>; }