@theclearsky/react-blender-nodes 0.0.5 → 0.0.7

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/README.md CHANGED
@@ -41,7 +41,6 @@ import {
41
41
  FullGraph,
42
42
  useFullGraph,
43
43
  makeStateWithAutoInfer,
44
- makeNodeIdToNodeTypeWithAutoInfer,
45
44
  makeTypeOfNodeWithAutoInfer,
46
45
  makeDataTypeWithAutoInfer,
47
46
  } from 'react-blender-nodes';
@@ -75,14 +74,10 @@ function MyNodeEditor() {
75
74
  }),
76
75
  };
77
76
 
78
- // Define node ID to type mapping with auto-infer
79
- const nodeIdToNodeType = makeNodeIdToNodeTypeWithAutoInfer({});
80
-
81
77
  // Create state with auto-infer for complete type safety
82
78
  const initialState = makeStateWithAutoInfer({
83
79
  dataTypes,
84
80
  typeOfNodes,
85
- nodeIdToNodeType,
86
81
  nodes: [],
87
82
  edges: [],
88
83
  });
@@ -106,7 +101,6 @@ throughout your graph system:
106
101
  - **`makeDataTypeWithAutoInfer`**: Validates data type definitions
107
102
  - **`makeTypeOfNodeWithAutoInfer`**: Validates node type definitions and
108
103
  dataType references
109
- - **`makeNodeIdToNodeTypeWithAutoInfer`**: Validates node ID to type mappings
110
104
  - **`makeStateWithAutoInfer`**: Provides complete type inference for the entire
111
105
  state
112
106
 
@@ -169,7 +163,7 @@ const dataTypes = {
169
163
 
170
164
  ### 🧠 Smart Type System & Validation + Advanced Features
171
165
 
172
- ![Smart Type System And Advanced Features](./docs/screenshots/smart-type-system-and-advanced-features.mp4)
166
+ https://github.com/user-attachments/assets/72d9384a-e9ca-4223-906a-dc422fb66f49
173
167
 
174
168
  - **Intelligent Type Inference**: Automatically infer node types from
175
169
  connections
@@ -240,7 +234,6 @@ const initialState = makeStateWithAutoInfer({
240
234
  outputs: [{ name: 'Result', dataType: 'stringType' }],
241
235
  }),
242
236
  },
243
- nodeIdToNodeType: makeNodeIdToNodeTypeWithAutoInfer({}),
244
237
  nodes: [],
245
238
  edges: [],
246
239
  // Enable smart validation features