Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@logicflow/core

Package Overview
Dependencies
Maintainers
5
Versions
227
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logicflow/core - npm Package Compare versions

Comparing version 1.2.8 to 1.2.9

2

package.json
{
"name": "@logicflow/core",
"version": "1.2.8",
"version": "1.2.9",
"description": "LogicFlow core, to quickly build flowchart editor",

@@ -5,0 +5,0 @@ "main": "dist/entry.js",

@@ -314,2 +314,10 @@ import BaseNodeModel from './node/BaseNodeModel';

/**
* 如果有文案了,当节点移动引起文案位置修改时,找出当前文案位置与最新边距离最短距离的点
* 最大程度保持节点位置不变且在边上
* @param edgeModel 边的数据管理类
* @param x X轴移动距离
* @param y Y轴移动距离
*/
handleEdgeTextMove(edgeModel: BaseEdgeModel, x: number, y: number): void;
/**
* 删除两节点之间的边

@@ -316,0 +324,0 @@ * @param sourceNodeId 边的起始节点

@@ -30,3 +30,3 @@ import BaseNode from '../model/node/BaseNodeModel';

export declare const pointDirection: (point: PolyPoint, bbox: PBBox) => Direction;
export declare const getExpandedBBoxPoint: (bbox: PBBox, point: PolyPoint) => PolyPoint;
export declare const getExpandedBBoxPoint: (expendBBox: PBBox, bbox: PBBox, point: PolyPoint) => PolyPoint;
export declare const mergeBBox: (b1: PBBox, b2: PBBox) => PBBox;

@@ -33,0 +33,0 @@ export declare const getBBoxOfPoints: (points?: PolyPoint[], offset?: number) => PBBox;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc