@logicflow/core 1.1.3-alpha.0 → 1.1.3
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/package.json
CHANGED
|
@@ -113,7 +113,7 @@ export default class BaseNodeModel implements IBaseNodeModel {
|
|
|
113
113
|
* 获取当前节点锚点样式
|
|
114
114
|
* @returns 自定义样式
|
|
115
115
|
*/
|
|
116
|
-
getAnchorStyle(): Record<string, any>;
|
|
116
|
+
getAnchorStyle(anchorInfo: any): Record<string, any>;
|
|
117
117
|
/**
|
|
118
118
|
* @overridable 支持重写
|
|
119
119
|
* 获取当前节点锚点拖出连线样式
|
package/types/view/Anchor.d.ts
CHANGED
|
@@ -4,9 +4,6 @@ import GraphModel from '../model/GraphModel';
|
|
|
4
4
|
import { AnchorConfig } from '../type';
|
|
5
5
|
declare type TargetNodeId = string;
|
|
6
6
|
interface IProps {
|
|
7
|
-
x: number;
|
|
8
|
-
y: number;
|
|
9
|
-
id?: string;
|
|
10
7
|
anchorData: AnchorConfig;
|
|
11
8
|
style?: Record<string, any>;
|
|
12
9
|
hoverStyle?: Record<string, any>;
|