@kui-shell/plugin-wskflow
Version:
Visualizations for Composer apps
17 lines (16 loc) • 574 B
TypeScript
import { Tab } from '@kui-shell/core';
import ActivationLike from './activation';
import { FlowNode } from './graph';
import Response from './response';
export default function graph2doms(tab: Tab, JSONgraph: FlowNode, ifReuseContainer?: Element, activations?: ActivationLike[], { layoutOptions, composites }?: {
layoutOptions?: Record<string, string | boolean | number>;
composites?: {
label: {
fontSize: string;
offset: {
x: number;
y: number;
};
};
};
}): Promise<Response>;