@logicflow/core 1.1.11 → 1.1.12-alpha.0

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logicflow/core",
3
- "version": "1.1.11",
3
+ "version": "1.1.12-alpha.0",
4
4
  "description": "LogicFlow core, to quickly build flowchart editor",
5
5
  "main": "dist/logic-flow.js",
6
6
  "unpkg": "dist/logic-flow.js",
@@ -514,11 +514,7 @@ export default class LogicFlow {
514
514
  * 用于fakerNode移除对齐线
515
515
  */
516
516
  setView(type: string, component: any): void;
517
- /**
518
- * 内部保留方法
519
- * 获取指定类型的view
520
- */
521
- getView: (type: string) => any;
517
+ renderRawData(graphRawData: any): void;
522
518
  /**
523
519
  * 渲染图
524
520
  * @example
@@ -548,5 +544,10 @@ export default class LogicFlow {
548
544
  * @param graphData 图数据
549
545
  */
550
546
  render(graphData?: {}): void;
547
+ /**
548
+ * 内部保留方法
549
+ * 获取指定类型的view
550
+ */
551
+ getView: (type: string) => any;
551
552
  }
552
553
  export {};
@@ -0,0 +1 @@
1
+ export default function Rect(props: any): void;
@@ -0,0 +1,4 @@
1
+ import { h, Component } from 'preact';
2
+ export default class TransfromGraph extends Component {
3
+ render(): h.JSX.Element;
4
+ }