Skip to content

Commit 57fbad5

Browse files
committed
tweaks
1 parent a0e1b4f commit 57fbad5

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

libs/app-canvas/src/app/components/node-sidebar-menu.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ export class NodeSidebarMenuComponent extends Component<
157157
if (factory) {
158158
const node = factory(this.props.canvasUpdated);
159159
categoryName = node.category || 'uncategorized';
160+
if (node.useInCompositionOnly) {
161+
return;
162+
}
160163
}
161164
const label = canvasNodeTaskRegistryLabels[nodeTask] || nodeTask;
162165
const category = categorizedNodeTasks.get(categoryName);

libs/web-flow-executor/src/nodes/neural-input-node.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export const getNeuralInputNode =
211211
},
212212
{
213213
hasTitlebar: false,
214-
category: 'flow-control',
214+
category: 'neural networks',
215215
hideTitle: true,
216216
isRectThumb: true,
217217
isCircleRectThumb: true,

libs/web-flow-executor/src/nodes/vector-distance.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export const getVectorDistanceNode: NodeTaskFactory<NodeInfo> = (
179179
return {
180180
name: vectorDistanceNodeName,
181181
family: 'flow-canvas',
182-
category: 'flow-control',
182+
category: 'math',
183183
isContainer: false,
184184
thumbs,
185185
createVisualNode: (

0 commit comments

Comments
 (0)