@logicflow/core
Advanced tools
Comparing version 1.2.22 to 1.2.23
{ | ||
"name": "@logicflow/core", | ||
"version": "1.2.22", | ||
"version": "1.2.23", | ||
"description": "LogicFlow core, to quickly build flowchart editor", | ||
@@ -5,0 +5,0 @@ "main": "dist/entry.js", |
@@ -144,9 +144,9 @@ import { IBaseModel } from '../BaseModel'; | ||
/** | ||
* 内部方法,计算两个节点相连是起点位置 | ||
* 内部方法,计算两个节点相连时的起点位置 | ||
*/ | ||
getBeginAnchor(sourceNode: any, targetNode: any): Point | undefined; | ||
getBeginAnchor(sourceNode: any, targetNode: any, sourceAnchorId: any): Point | undefined; | ||
/** | ||
* 内部方法,计算两个节点相连是终点位置 | ||
* 内部方法,计算两个节点相连时的终点位置 | ||
*/ | ||
getEndAnchor(targetNode: any): Point | undefined; | ||
getEndAnchor(targetNode: any, targetAnchorId: any): Point | undefined; | ||
/** | ||
@@ -153,0 +153,0 @@ * 获取当前边的properties |
@@ -424,2 +424,10 @@ import BaseNodeModel from './node/BaseNodeModel'; | ||
/** | ||
* 获取所有以此锚点为终点的边 | ||
*/ | ||
getAnchorIncomingEdge(anchorId: any): any[]; | ||
/** | ||
* 获取所有以此锚点为起点的边 | ||
*/ | ||
getAnchorOutcomingEdge(anchorId: any): any[]; | ||
/** | ||
* 获取节点连接到的所有起始节点 | ||
@@ -426,0 +434,0 @@ */ |
@@ -45,2 +45,6 @@ import { h, Component } from 'preact'; | ||
get customTrajectory(): (props: import("..").CustomAnchorLineProps) => import("preact").VNode<{}>; | ||
get relateEdges(): { | ||
incomingEdgeList: any[]; | ||
outcomingEdgeList: any[]; | ||
}; | ||
checkEnd: (event: MouseEvent) => BaseEdgeModel | null; | ||
@@ -47,0 +51,0 @@ moveAnchorEnd(endX: number, endY: number): void; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1348608
5677