- Preparing search index...
- The search index is not available
react-svg-dag
- DAGSVGComponent(props: {
configuration?: Configuration;
nodes: DAGNode[];
selectedNode?: number;
style?: CSSProperties;
onClick?(node: Node): void;
onPanZoomInit?(controller: Instance): void;
onSVG?(element: any): void;
renderEdge?(edge: Edge, selected: boolean): Element;
renderNode?(props: NodeComponentProps): Element;
} & RefAttributes<unknown>): ReactElement<any, string | JSXElementConstructor<any>>
-
Parameters
-
props: {
configuration?: Configuration;
nodes: DAGNode[];
selectedNode?: number;
style?: CSSProperties;
onClick?(node: Node): void;
onPanZoomInit?(controller: Instance): void;
onSVG?(element: any): void;
renderEdge?(edge: Edge, selected: boolean): Element;
renderNode?(props: NodeComponentProps): Element;
} & RefAttributes<unknown>
Returns ReactElement<any, string | JSXElementConstructor<any>>
NOTE: Exotic components are not callable.