@logicflow/core 1.1.28 → 1.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/logic-flow.js +34 -16
- package/dist/logic-flow.min.js +1 -1
- package/package.json +1 -1
- package/types/algorithm/edge.d.ts +1 -1
- package/types/model/edge/BaseEdgeModel.d.ts +1 -0
- package/types/model/node/BaseNodeModel.d.ts +1 -1
- package/types/view/node/HtmlNode.d.ts +1 -1
- package/types/view/node/TextNode.d.ts +1 -1
- package/types/view/text/LineText.d.ts +1 -1
package/package.json
CHANGED
|
@@ -130,6 +130,7 @@ declare class BaseEdgeModel implements IBaseModel {
|
|
|
130
130
|
setProperty(key: any, val: any): void;
|
|
131
131
|
deleteProperty(key: string): void;
|
|
132
132
|
setProperties(properties: any): void;
|
|
133
|
+
changeEdgeId(id: string): void;
|
|
133
134
|
setStyle(key: any, val: any): void;
|
|
134
135
|
setStyles(styles: any): void;
|
|
135
136
|
updateStyles(styles: any): void;
|
|
@@ -140,7 +140,7 @@ export default class BaseNodeModel implements IBaseNodeModel {
|
|
|
140
140
|
* 获取当前节点锚点拖出连线样式
|
|
141
141
|
* @returns 自定义锚点拖出样式
|
|
142
142
|
*/
|
|
143
|
-
getAnchorLineStyle(): import("../../constant/DefaultTheme").CommonTheme;
|
|
143
|
+
getAnchorLineStyle(anchorInfo: any): import("../../constant/DefaultTheme").CommonTheme;
|
|
144
144
|
/**
|
|
145
145
|
* @overridable 支持重写
|
|
146
146
|
* 获取outline样式,重写可以定义此类型节点outline样式, 默认使用主题样式
|
|
@@ -2,7 +2,7 @@ import { h } from 'preact';
|
|
|
2
2
|
import BaseNode from './BaseNode';
|
|
3
3
|
export default class HtmlNode extends BaseNode {
|
|
4
4
|
ref: HTMLElement;
|
|
5
|
-
|
|
5
|
+
currentProperties: string;
|
|
6
6
|
preProperties: string;
|
|
7
7
|
setRef: (dom: any) => void;
|
|
8
8
|
get rootEl(): HTMLElement;
|
|
@@ -2,7 +2,7 @@ import { h } from 'preact';
|
|
|
2
2
|
import BaseText from './BaseText';
|
|
3
3
|
export default class LineText extends BaseText {
|
|
4
4
|
constructor(config: any);
|
|
5
|
-
|
|
5
|
+
getBackground(): h.JSX.Element;
|
|
6
6
|
setHoverON: () => void;
|
|
7
7
|
setHoverOFF: () => void;
|
|
8
8
|
getShape(): h.JSX.Element;
|