@stinkycomputing/sesame-editor-api 1.0.0-alpha.6 → 1.0.0-alpha.8
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/dist/plugin.d.ts +3 -2
- package/package.json +1 -1
package/dist/plugin.d.ts
CHANGED
|
@@ -12,8 +12,9 @@ export interface ISesameConfig {
|
|
|
12
12
|
}
|
|
13
13
|
export interface NodeFactory<TNode = unknown, TEdge = unknown> {
|
|
14
14
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
* Create a React Flow node and generate an empty-ID warning if `id` is falsy.
|
|
16
|
+
* Collision detection is performed later when the editor adds nodes to its
|
|
17
|
+
* global set; `makeNode` itself does not register the node ID.
|
|
17
18
|
*/
|
|
18
19
|
makeNode(id: string, type: string, position: {
|
|
19
20
|
x: number;
|