PanelPosition
此类型主要用于帮助在流程视窗的顶部定位事物。例如,<MiniMap /> 和 <Controls /> 组件都接受这种类型的 position 属性。
export type PanelPosition =
| 'top-left'
| 'top-center'
| 'top-right'
| 'bottom-left'
| 'bottom-center'
| 'bottom-right';此类型主要用于帮助在流程视窗的顶部定位事物。例如,<MiniMap /> 和 <Controls /> 组件都接受这种类型的 position 属性。
export type PanelPosition =
| 'top-left'
| 'top-center'
| 'top-right'
| 'bottom-left'
| 'bottom-center'
| 'bottom-right';