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 0.7.1 to 0.7.2

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.7.2](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.7.1...@logicflow/core@0.7.2) (2021-10-22)
**Note:** Version bump only for package @logicflow/core
## [0.7.1](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.7.1-alpha.0...@logicflow/core@0.7.1) (2021-10-21)

@@ -8,0 +16,0 @@

4

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

@@ -84,3 +84,3 @@ "main": "dist/logic-flow.js",

],
"gitHead": "52610482acfe5bd7ada495beb992332b5078f965"
"gitHead": "aab48d4f394bc9475525fe4019a8603f0ae8fcb7"
}

@@ -207,8 +207,15 @@ import GraphModel from './model/GraphModel';

/**
* 修改节点的id, 如果
* @returns 是否修改成功
* 修改节点的id, 如果不传新的id,会内部自动创建一个。
* @param { string } oldId 将要被修改的id
* @param { string } newId 可选,修改后的id
* @returns 修改后的节点id
*/
changeNodeId<T extends string>(oldId: string, newId?: T): false | T | string;
/**
* 修改连线的id, 如果不传新的id,会内部自动创建一个。
* @param { string } oldId 将要被修改的id
* @param { string } newId 可选,修改后的id
* @returns 修改后的节点id
*/
changeEdgeId<T extends string>(oldId: string, newId?: T): false | T | string;
updateGraphId(): void;
/**

@@ -215,0 +222,0 @@ * 更新流程图编辑相关设置

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