@nodish/core 0.1.3 → 0.2.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.
Files changed (61) hide show
  1. package/dist/index.d.ts +519 -0
  2. package/dist/{vue.js → index.js} +76 -174
  3. package/package.json +9 -12
  4. package/dist/pack.d.ts +0 -326
  5. package/dist/pack.js +0 -43
  6. package/dist/src/components/AddNodePanel.vue.d.ts +0 -20
  7. package/dist/src/components/GraphInterfacePanel.vue.d.ts +0 -13
  8. package/dist/src/components/GraphNode.vue.d.ts +0 -26
  9. package/dist/src/components/GroupPanel.vue.d.ts +0 -13
  10. package/dist/src/components/InspectorPanel.vue.d.ts +0 -43
  11. package/dist/src/components/NodePanel.vue.d.ts +0 -18
  12. package/dist/src/components/NodePort.vue.d.ts +0 -21
  13. package/dist/src/components/NodeViewer.vue.d.ts +0 -14
  14. package/dist/src/components/WireLayer.vue.d.ts +0 -8
  15. package/dist/src/components/inspector/InspectorCheckboxField.vue.d.ts +0 -10
  16. package/dist/src/components/inspector/InspectorColorField.vue.d.ts +0 -12
  17. package/dist/src/components/inspector/InspectorError.vue.d.ts +0 -5
  18. package/dist/src/components/inspector/InspectorPositionField.vue.d.ts +0 -12
  19. package/dist/src/components/inspector/InspectorSection.vue.d.ts +0 -24
  20. package/dist/src/components/inspector/InspectorWidthField.vue.d.ts +0 -12
  21. package/dist/src/components/layout.d.ts +0 -26
  22. package/dist/src/components/types/NumberWidget.vue.d.ts +0 -15
  23. package/dist/src/components/types/PortValueWidget.vue.d.ts +0 -17
  24. package/dist/src/components/types/ReadonlyWidget.vue.d.ts +0 -9
  25. package/dist/src/components/types/TextWidget.vue.d.ts +0 -15
  26. package/dist/src/components/types/registerDefaultTypeWidgets.d.ts +0 -6
  27. package/dist/src/components/types/registry.d.ts +0 -13
  28. package/dist/src/pack/index.d.ts +0 -5
  29. package/dist/src/store/composite/editContext.d.ts +0 -14
  30. package/dist/src/store/composite/guards.d.ts +0 -7
  31. package/dist/src/store/composite/index.d.ts +0 -12
  32. package/dist/src/store/graph/connect.d.ts +0 -8
  33. package/dist/src/store/graph/createNodeMap.d.ts +0 -22
  34. package/dist/src/store/graph/document.d.ts +0 -25
  35. package/dist/src/store/graph/dynamicPorts.d.ts +0 -9
  36. package/dist/src/store/graph/evaluate.d.ts +0 -18
  37. package/dist/src/store/graph/expandIO.d.ts +0 -2
  38. package/dist/src/store/graph/instance.d.ts +0 -7
  39. package/dist/src/store/graph/pruneConnections.d.ts +0 -2
  40. package/dist/src/store/graph/removeNode.d.ts +0 -3
  41. package/dist/src/store/graph/stacking.d.ts +0 -5
  42. package/dist/src/store/graph/validateGraphTypes.d.ts +0 -2
  43. package/dist/src/store/interface/editor.d.ts +0 -5
  44. package/dist/src/store/interface/graphInterface.d.ts +0 -20
  45. package/dist/src/store/model.d.ts +0 -241
  46. package/dist/src/store/nodes/index.d.ts +0 -2
  47. package/dist/src/store/nodes/io.d.ts +0 -46
  48. package/dist/src/store/nodes/math.d.ts +0 -4
  49. package/dist/src/store/packs/core.d.ts +0 -3
  50. package/dist/src/store/packs/installPack.d.ts +0 -4
  51. package/dist/src/store/registry/defineNode.d.ts +0 -50
  52. package/dist/src/store/registry/defineType.d.ts +0 -31
  53. package/dist/src/store/registry/groups.d.ts +0 -9
  54. package/dist/src/store/registry/index.d.ts +0 -39
  55. package/dist/src/store/types/effectiveWidget.d.ts +0 -4
  56. package/dist/src/store/types/index.d.ts +0 -4
  57. package/dist/src/store/utils/clonePlain.d.ts +0 -1
  58. package/dist/src/vue/attachLoadPack.d.ts +0 -2
  59. package/dist/src/vue/createNodeMap.d.ts +0 -11
  60. package/dist/src/vue/index.d.ts +0 -10
  61. /package/dist/{vue.css → index.css} +0 -0
@@ -1,241 +0,0 @@
1
- import { NodePack } from './registry';
2
- export type NodeId = string;
3
- export type PortId = string;
4
- export type ConnectionId = string;
5
- export type NodeTypeId = string;
6
- export type NodeLocation = {
7
- x: number;
8
- y: number;
9
- };
10
- /** Key into the {@link TypeRegistry} (e.g. `"number"`). */
11
- export type PortTypeId = string;
12
- export type PortType = PortTypeId;
13
- /**
14
- * Serializable widget descriptor for port value editing and display. Lives on the
15
- * type definition; the Vue viewer resolves it to a concrete component.
16
- */
17
- export type TypeWidgetSpec = {
18
- kind: "number";
19
- min?: number;
20
- max?: number;
21
- step?: number;
22
- /** Port row height in px; defaults to one line (20px). */
23
- rowHeight?: number;
24
- } | {
25
- kind: "text";
26
- /** Multiline row count; height is `rows × 20px` unless `rowHeight` is set. */
27
- rows?: number;
28
- /** Port row height in px; overrides `rows`. */
29
- rowHeight?: number;
30
- } | {
31
- kind: "custom";
32
- /** Id passed to `registerComponentWidget` in a pack's `setup` hook. */
33
- componentId: string;
34
- /** Port row height in px; defaults to one line (20px). */
35
- rowHeight?: number;
36
- };
37
- /**
38
- * A registered data type. Carries validation, connection compatibility, and
39
- * optional value lifecycle hooks. Registered at startup — only {@link PortTypeId}
40
- * keys on ports are serialized in documents.
41
- */
42
- export interface PortTypeDefinition {
43
- id: PortTypeId;
44
- label: string;
45
- color: string;
46
- validate: (value: unknown) => boolean;
47
- /**
48
- * Whether an output of type `from` may connect into an input of this type.
49
- * Decided by the destination type. Omitted means strict identity (`from === id`).
50
- */
51
- accepts?: (from: PortTypeId) => boolean;
52
- /** Fallback when a port of this type omits its own default. */
53
- defaultValue?: unknown;
54
- /** Display/edit descriptor for the viewer (no functions). */
55
- widget?: TypeWidgetSpec;
56
- /** Parse a raw string (e.g. from an input field) into a value. */
57
- parse?: (raw: string) => unknown;
58
- /** Format a value for display in the viewer. */
59
- format?: (value: unknown) => string;
60
- /** Normalize or clamp a value after edit or connection. */
61
- coerce?: (value: unknown) => unknown;
62
- }
63
- /** Library of available data types, keyed by id. */
64
- export type TypeRegistry = Record<PortTypeId, PortTypeDefinition>;
65
- export type PortDirection = "input" | "output";
66
- /**
67
- * Port template declared by a node type ({@link IndefiniteNode}). Has no id and
68
- * no live value — only describes ports that instances will receive.
69
- */
70
- export type PortDefinition = {
71
- /** Stable, human-authored key; referenced inside `execute()`. */
72
- name: string;
73
- type: PortType;
74
- /** Used by an input when nothing is connected to it. */
75
- defaultValue?: unknown;
76
- description?: string;
77
- /**
78
- * Input-only. Never accepts a connection — no socket, always shows its widget.
79
- * Also feeds parameters into {@link IndefiniteNode.resolvePorts}.
80
- */
81
- userOnly?: boolean;
82
- /**
83
- * Input-only. Accepts any number of incoming connections; `execute()` receives
84
- * values as an unordered array of `type`.
85
- */
86
- multi?: boolean;
87
- /**
88
- * Widget-specific configuration merged on top of the type's widget spec.
89
- * Recognized keys: `options`, `min`, `max`, `step`, `rows`, `rowHeight`.
90
- */
91
- customProps?: Record<string, unknown>;
92
- };
93
- /**
94
- * Materialized port on a placed node ({@link DefiniteNode}). Has a unique id so
95
- * connections and the DOM can reference it directly.
96
- */
97
- export type Port = {
98
- id: PortId;
99
- /** Matches the {@link PortDefinition.name} it came from. */
100
- name: string;
101
- type: PortType;
102
- direction: PortDirection;
103
- /** Input: value when disconnected. Output: optional cache of last computed value. */
104
- value?: unknown;
105
- userOnly?: boolean;
106
- multi?: boolean;
107
- customProps?: Record<string, unknown>;
108
- };
109
- /** Port templates on a definition, keyed by name (authoring-friendly). */
110
- export type NodeIODefinition = Record<string, PortDefinition>;
111
- /** Materialized ports on an instance, keyed by id (connection/DOM-friendly). */
112
- export type NodeIO = Record<PortId, Port>;
113
- /** Reference to one port on one node. */
114
- export type PortRef = {
115
- node: NodeId;
116
- port: PortId;
117
- };
118
- /**
119
- * Node type template that {@link DefiniteNode} instances are created from. Lives
120
- * in the runtime registry only (never in a saved graph). Authors ship types via
121
- * {@link NodePack}.
122
- *
123
- * - **Primitive:** implements {@link IndefiniteNode.execute}.
124
- * - **Composite:** supplies a nested {@link IndefiniteNode.graph} instead of `execute`.
125
- */
126
- export interface IndefiniteNode {
127
- /** Unique node type id (e.g. `"my-pack/add"`). */
128
- typeId: NodeTypeId;
129
- displayName: string;
130
- color: string;
131
- description: string;
132
- /**
133
- * Hierarchical menu category, broadest first, e.g. `["Math", "Basic Operations"]`.
134
- * Empty or omitted places the node at the menu root.
135
- */
136
- group?: string[];
137
- inputs: NodeIODefinition;
138
- outputs: NodeIODefinition;
139
- /**
140
- * Runtime evaluation, keyed by port name (not id). Omit for composite types.
141
- * @returns Output values keyed by port name.
142
- */
143
- execute?: (inputs: Record<string, unknown>) => Record<string, unknown>;
144
- /** Nested subgraph for composite types (registry-only, not evaluated standalone). */
145
- graph?: NodeGraph;
146
- /**
147
- * Dynamic port count driven by user-only inputs. When present, static
148
- * `inputs`/`outputs` are initial defaults; reconciliation re-materializes
149
- * ports by name so existing ids and connections survive a recount.
150
- */
151
- resolvePorts?: (params: Record<string, unknown>) => {
152
- inputs: NodeIODefinition;
153
- outputs: NodeIODefinition;
154
- };
155
- }
156
- /**
157
- * A node placed on the workspace. Serializable data only — behaviour lives on
158
- * the {@link IndefiniteNode} referenced by {@link DefiniteNode.typeId}.
159
- */
160
- export interface DefiniteNode {
161
- id: NodeId;
162
- /** {@link IndefiniteNode} this instance was created from. */
163
- typeId: NodeTypeId;
164
- location: NodeLocation;
165
- inputs: NodeIO;
166
- outputs: NodeIO;
167
- label?: string;
168
- color?: string;
169
- /** Node width in px. Falls back to layout default when undefined. */
170
- width?: number;
171
- /**
172
- * Stacking order — higher paints on top. Stored for save/load. Undefined until
173
- * first assigned.
174
- */
175
- z?: number;
176
- /** Nested graph for composite/group instances. Serializable with the node. */
177
- composite?: CompositeState;
178
- }
179
- /** Serializable nested graph owned by a composite instance. */
180
- export interface CompositeState {
181
- graph: NodeGraph;
182
- interface: GraphInterface;
183
- }
184
- /**
185
- * Directed wire from an output port to an input port. Stored centrally on the
186
- * graph so either endpoint can be looked up uniformly.
187
- */
188
- export interface Connection {
189
- id: ConnectionId;
190
- /** Must reference an output port. */
191
- from: PortRef;
192
- /** Must reference an input port. */
193
- to: PortRef;
194
- }
195
- /** Serializable port template for boundary definitions (object key = port name). */
196
- export type GraphPortSpec = Omit<PortDefinition, "name">;
197
- /**
198
- * External signature of a graph. Parameters become the Input node's output ports;
199
- * returns become the Output node's input ports.
200
- */
201
- export interface GraphInterface {
202
- /** Graph inputs (function parameters). Key = port name. */
203
- parameters?: Record<string, GraphPortSpec>;
204
- /** Graph outputs (return values). Key = port name. */
205
- returns?: Record<string, GraphPortSpec>;
206
- }
207
- export declare const defaultGraphInterface: GraphInterface;
208
- /**
209
- * Placed nodes and connections. Every graph must contain exactly one Input node
210
- * and one Output node.
211
- */
212
- export interface NodeGraph {
213
- nodes: DefiniteNode[];
214
- connections: Connection[];
215
- }
216
- /**
217
- * Serializable graph snapshot. Contains no `execute()` implementations or type
218
- * definitions — custom nodes are resolved at runtime from loaded {@link NodePack}s.
219
- */
220
- export interface GraphDocument {
221
- graph: NodeGraph;
222
- interface: GraphInterface;
223
- /** Pack ids required to interpret this document. See {@link NodeMap.extensions}. */
224
- extensions?: string[];
225
- }
226
- /** Library of available node types, keyed by {@link NodeTypeId}. */
227
- export type NodeRegistry = Record<NodeTypeId, IndefiniteNode>;
228
- /** In-memory workspace: serializable graph plus runtime type and node registries. */
229
- export interface NodeMap {
230
- graph: NodeGraph;
231
- types: TypeRegistry;
232
- nodeTypes: NodeRegistry;
233
- /** Ids of packs loaded via {@link NodeMap.loadPack}. */
234
- extensions: string[];
235
- graphInterface: GraphInterface;
236
- /**
237
- * Register types, nodes, and optional widget setup from a pack.
238
- * @returns Registration errors (empty array on success).
239
- */
240
- loadPack(pack: NodePack): string[];
241
- }
@@ -1,2 +0,0 @@
1
- import { NodeSpecRegistry } from '../registry/defineNode';
2
- export declare const defaultNodes: NodeSpecRegistry;
@@ -1,46 +0,0 @@
1
- import { NodeSpec } from '../registry/defineNode';
2
- import { DefiniteNode, GraphInterface, NodeMap } from '../model';
3
- /** {@link IndefiniteNode.typeId} for the graph Input (Group Input) boundary node. */
4
- export declare const INPUT_TYPE = "io/input";
5
- /** {@link IndefiniteNode.typeId} for the graph Output (Group Output) boundary node. */
6
- export declare const OUTPUT_TYPE = "io/output";
7
- export declare const DEFAULT_BOUNDARY_LAYOUT: {
8
- input: {
9
- x: number;
10
- y: number;
11
- };
12
- output: {
13
- x: number;
14
- y: number;
15
- };
16
- };
17
- export type { GraphInterface } from '../model';
18
- export { defaultGraphInterface as defaultInterface } from '../model';
19
- export declare function createIONodes(iface?: GraphInterface): {
20
- input: NodeSpec;
21
- output: NodeSpec;
22
- };
23
- export declare function applyGraphInterface(map: NodeMap, iface: GraphInterface): void;
24
- /**
25
- * Return the single Input and Output nodes on the graph.
26
- * @throws When the graph does not contain exactly one of each.
27
- */
28
- export declare function boundaryNodes(map: NodeMap): {
29
- input: DefiniteNode;
30
- output: DefiniteNode;
31
- };
32
- export declare function ensureBoundaryNodes(map: NodeMap, layout?: {
33
- input: {
34
- x: number;
35
- y: number;
36
- };
37
- output: {
38
- x: number;
39
- y: number;
40
- };
41
- }): {
42
- input: DefiniteNode;
43
- output: DefiniteNode;
44
- };
45
- export declare function updateGraphInterface(map: NodeMap, iface: GraphInterface): string[];
46
- export declare function validateBoundary(map: NodeMap): string[];
@@ -1,4 +0,0 @@
1
- import { NodeSpec } from '../registry/defineNode';
2
- export declare const addNode: NodeSpec;
3
- export declare const multiplyNode: NodeSpec;
4
- export declare const divideNode: NodeSpec;
@@ -1,3 +0,0 @@
1
- import { NodePack } from '../registry';
2
- export declare const CORE_PACK_ID = "@local/core";
3
- export declare const corePack: NodePack;
@@ -1,4 +0,0 @@
1
- import { NodeMap } from '../model';
2
- import { NodePack, PackSetupContext } from '../registry';
3
- export type { NodePack, PackSetupContext } from '../registry';
4
- export declare function installPack(map: NodeMap, pack: NodePack, setupCtx?: PackSetupContext): string[];
@@ -1,50 +0,0 @@
1
- import { GraphPortSpec, IndefiniteNode, NodeGraph, NodeTypeId } from '../model';
2
- /**
3
- * Port in a node spec — same as {@link GraphPortSpec}; the name comes from the
4
- * object key so authors do not repeat it.
5
- */
6
- export type PortSpec = GraphPortSpec;
7
- /** Input or output port templates keyed by port name. */
8
- export type IOSpec = Record<string, PortSpec>;
9
- /**
10
- * Authoring form of {@link IndefiniteNode.resolvePorts}. Returns ports in
11
- * {@link IOSpec} shape; normalized when registered via {@link registerNodeTypes}.
12
- */
13
- export type DynamicPortsSpec = (params: Record<string, unknown>) => {
14
- inputs?: IOSpec;
15
- outputs?: IOSpec;
16
- };
17
- /**
18
- * Authoring format for a node type. Normalized into a full {@link IndefiniteNode}
19
- * when registered on a {@link NodeMap} (via {@link NodePack} or
20
- * {@link registerNodeTypes}).
21
- */
22
- export interface NodeSpec {
23
- /** Unique node type id (e.g. `"my-pack/add"`). */
24
- typeId: NodeTypeId;
25
- displayName: string;
26
- color?: string;
27
- description?: string;
28
- /**
29
- * Hierarchical menu category, broadest first. See {@link IndefiniteNode.group}.
30
- */
31
- group?: string[];
32
- inputs?: IOSpec;
33
- outputs?: IOSpec;
34
- /**
35
- * Runtime evaluation, keyed by port name. Omit for composite node packs.
36
- * @returns Output values keyed by port name.
37
- */
38
- execute?: (inputs: Record<string, unknown>) => Record<string, unknown>;
39
- /** Nested subgraph for composite types in a published pack. Not evaluated yet. */
40
- graph?: NodeGraph;
41
- /**
42
- * Dynamic port count driven by user-only inputs. Static `inputs`/`outputs`
43
- * act as initial defaults when present.
44
- */
45
- resolvePorts?: DynamicPortsSpec;
46
- }
47
- /** Node types in authoring form, keyed by {@link NodeTypeId}. */
48
- export type NodeSpecRegistry = Record<NodeTypeId, NodeSpec>;
49
- /** Expand a {@link NodeSpec} into a runtime {@link IndefiniteNode}. */
50
- export declare function normalizeNode(spec: NodeSpec): IndefiniteNode;
@@ -1,31 +0,0 @@
1
- import { PortTypeDefinition, PortTypeId, TypeWidgetSpec } from '../model';
2
- /**
3
- * Authoring format for a data type. {@link defineType} expands this into a full
4
- * {@link PortTypeDefinition} (default label, color, and widget lifecycle hooks).
5
- */
6
- export interface TypeSpec {
7
- /** Unique type id (e.g. `"number"`, `"my-pack/label"`). */
8
- id: PortTypeId;
9
- label?: string;
10
- color?: string;
11
- validate: (value: unknown) => boolean;
12
- /**
13
- * Whether an output of type `from` may connect into ports of this type.
14
- * Omitted means strict identity.
15
- */
16
- accepts?: (from: PortTypeId) => boolean;
17
- /** Fallback when a port of this type omits its own default. */
18
- defaultValue?: unknown;
19
- /** Viewer widget descriptor for ports of this type. */
20
- widget?: TypeWidgetSpec;
21
- /** Override default parse behaviour for this type's widget. */
22
- parse?: (raw: string) => unknown;
23
- /** Override default format behaviour for this type's widget. */
24
- format?: (value: unknown) => string;
25
- /** Override default coerce behaviour for this type's widget. */
26
- coerce?: (value: unknown) => unknown;
27
- }
28
- /**
29
- * Turn a {@link TypeSpec} into a complete {@link PortTypeDefinition}.
30
- */
31
- export declare function defineType(spec: TypeSpec): PortTypeDefinition;
@@ -1,9 +0,0 @@
1
- import { IndefiniteNode, NodeRegistry } from '../model';
2
- export interface NodeGroup {
3
- name: string;
4
- path: string[];
5
- subgroups: NodeGroup[];
6
- nodes: IndefiniteNode[];
7
- }
8
- export declare function buildNodeGroupTree(registry: NodeRegistry, filter?: (node: IndefiniteNode) => boolean): NodeGroup;
9
- export declare function sortNodeGroupTree(group: NodeGroup): NodeGroup;
@@ -1,39 +0,0 @@
1
- import { Component } from 'vue';
2
- import { NodeMap, TypeRegistry } from '../model';
3
- import { NodeSpecRegistry } from './defineNode';
4
- /**
5
- * A publishable bundle of custom types and/or node types (npm package contents).
6
- * Load onto a {@link NodeMap} with {@link NodeMap.loadPack}.
7
- */
8
- export interface NodePack {
9
- /** Unique pack id (e.g. `"@my-org/my-pack"`). Recorded in {@link GraphDocument.extensions}. */
10
- id: string;
11
- /** Custom {@link PortTypeDefinition}s to register. */
12
- types?: TypeRegistry;
13
- /** Custom node definitions to register (authoring form). */
14
- nodeTypes?: NodeSpecRegistry;
15
- /**
16
- * Optional hook to register Vue widgets after types and nodes are merged.
17
- * Runs once per pack load.
18
- */
19
- setup?: (ctx: PackSetupContext) => void;
20
- }
21
- /** Context passed to {@link NodePack.setup} for widget registration. */
22
- export interface PackSetupContext {
23
- /**
24
- * Bind a Vue component to all editable ports of a type id.
25
- * Overrides the generic widget for that type.
26
- */
27
- registerTypeWidget: (typeId: string, component: Component) => void;
28
- /**
29
- * Bind a Vue component to a custom widget id
30
- * ({@link TypeWidgetSpec} `kind: "custom"`).
31
- */
32
- registerComponentWidget: (componentId: string, component: Component) => void;
33
- }
34
- export declare function registerTypes(map: NodeMap, types: TypeRegistry): void;
35
- /** Merge node specs into the runtime registry, expanding ports and defaults. */
36
- export declare function registerNodeTypes(map: NodeMap, nodeTypes: NodeSpecRegistry): void;
37
- export declare function registerNodePack(map: NodeMap, pack: NodePack): void;
38
- export declare function unregisterNodePack(map: NodeMap, packId: string): void;
39
- export type { NodeSpecRegistry } from './defineNode';
@@ -1,4 +0,0 @@
1
- import { Port, PortTypeDefinition, TypeWidgetSpec } from '../model';
2
- export declare function effectiveWidget(typeDef: PortTypeDefinition | undefined, port: Port): TypeWidgetSpec | undefined;
3
- /** Height in px implied by a widget spec (before port.customProps.rowHeight override). */
4
- export declare function widgetRowHeight(widget: TypeWidgetSpec | undefined, defaultRowH: number): number;
@@ -1,4 +0,0 @@
1
- import { TypeRegistry } from '../model';
2
- export declare const numberType: import('../model').PortTypeDefinition;
3
- export declare const stringType: import('../model').PortTypeDefinition;
4
- export declare const defaultTypes: TypeRegistry;
@@ -1 +0,0 @@
1
- export declare function clonePlain<T>(value: T): T;
@@ -1,2 +0,0 @@
1
- import { NodeMap } from '../store/model';
2
- export declare function attachLoadPack(map: NodeMap): void;
@@ -1,11 +0,0 @@
1
- import { CreateNodeMapInit } from '../store/graph/createNodeMap';
2
- import { GraphDocument } from '../store/model';
3
- export type { CreateNodeMapInit, GraphDocument };
4
- /**
5
- * Create an in-memory graph workspace with registries, boundary nodes, and
6
- * {@link NodeMap.loadPack} wired for widget setup.
7
- *
8
- * Loads the built-in core pack by default unless `defaultPack: false`.
9
- * Registers built-in number/string widgets on first call.
10
- */
11
- export declare function createNodeMap(init?: CreateNodeMapInit): import('.').NodeMap;
@@ -1,10 +0,0 @@
1
- export { default as NodeViewer } from '../components/NodeViewer.vue';
2
- export { createNodeMap } from './createNodeMap';
3
- export type { CreateNodeMapInit } from './createNodeMap';
4
- export { applyDocument, exportGraph, importGraph, parseGraphDocument, serializeDocument, validateDocument, } from '../store/graph/document';
5
- export { runGraph, type GraphRunResult, type Values, } from '../store/graph/evaluate';
6
- export { instantiate } from '../store/graph/instance';
7
- export { boundaryNodes, INPUT_TYPE, OUTPUT_TYPE } from '../store/nodes/io';
8
- export { registerComponentWidget, registerDefaultTypeWidgets, registerTypeWidget, } from '../components/types/registerDefaultTypeWidgets';
9
- export type { Connection, ConnectionId, DefiniteNode, GraphDocument, GraphInterface, IndefiniteNode, NodeGraph, NodeId, NodeMap, NodeRegistry, Port, PortRef, PortTypeDefinition, PortTypeId, TypeRegistry, } from '../store/model';
10
- export * from '../pack/index';
File without changes