@logicflow/core
Advanced tools
Comparing version 1.1.29 to 1.1.30
{ | ||
"name": "@logicflow/core", | ||
"version": "1.1.29", | ||
"version": "1.1.30", | ||
"description": "LogicFlow core, to quickly build flowchart editor", | ||
@@ -5,0 +5,0 @@ "main": "dist/entry.js", |
@@ -119,4 +119,5 @@ import GraphModel from './model/GraphModel'; | ||
* @param multiple 是否允许多选,如果为true,不会将上一个选中的元素重置 | ||
* @param toFront 是否将选中的元素置顶,默认为true | ||
*/ | ||
selectElementById(id: string, multiple?: boolean): void; | ||
selectElementById(id: string, multiple?: boolean, toFront?: boolean): void; | ||
/** | ||
@@ -123,0 +124,0 @@ * 定位到画布视口中心 |
@@ -53,3 +53,3 @@ import { ModelType } from '../../constant/constant'; | ||
dragAppendEnd(): void; | ||
updatePointsAfterDrage(pointsList: any): void; | ||
updatePointsAfterDrag(pointsList: any): void; | ||
getAdjustStart(): any; | ||
@@ -56,0 +56,0 @@ getAdjustEnd(): any; |
@@ -32,3 +32,3 @@ import { h, Component } from 'preact'; | ||
handleMouseUp: (e: MouseEvent) => void; | ||
getIsDraging: () => boolean; | ||
getIsDragging: () => boolean; | ||
toFront(): void; | ||
@@ -35,0 +35,0 @@ render(): h.JSX.Element; |
@@ -24,3 +24,3 @@ import { h } from 'preact'; | ||
beforeDragStart: (e: any, appendInfo: any) => void; | ||
getIsDraging: () => boolean; | ||
getIsDragging: () => boolean; | ||
getEdge(): h.JSX.Element; | ||
@@ -27,0 +27,0 @@ getShape(): h.JSX.Element; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2138813
37320