UNPKG

@kui-shell/plugin-wskflow

Version:

Visualizations for Composer apps

54 lines (53 loc) 1.2 kB
interface Port { id: string; } interface FlowNodeProperties { fontSize?: string; maxLabelLength?: number; [key: string]: any; } export interface FlowNode { readonly id: string; readonly type?: string; label: string; name?: string; value?: string; taskIndex?: number; tooltip?: string; tooltipHeader?: string; tooltipColor?: string; prettyCode?: string; fullFunctionCode?: string; multiLineLabel?: string[]; repeatCount?: string; retryCount?: string; width?: number; height?: number; layoutOptions?: Record<string, any>; properties?: FlowNodeProperties; ports?: Port[]; visited?: number[]; children?: FlowNode[]; edges?: Edge[]; deployed?: boolean; readonly onclick?: string; } export interface NodeOptions { type?: string; label?: string; value?: string; tooltip?: string; tooltipHeader?: string; leftToRight?: boolean; renderFunctionsInView?: boolean; } export interface Edge { id: string; source: string; sourcePort: string; target: string; targetPort: string; properties?: Record<string, any>; visited?: boolean; } export {};