OnInit
OnInit 类型定义了初始化 ReactFlow 实例时调用的回调函数。此回调接收 ReactFlow 实例作为其参数。
¥The OnInit type defines the callback function that is called when the ReactFlow instance is initialized. This callback receives the ReactFlow instance as its argument.
type OnInit = (reactFlowInstance: ReactFlowInstance) => void;| Name | Type | Default |
|---|---|---|
reactFlowInstance | ReactFlowInstance<NodeType, EdgeType> |
Last updated on