Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def vector_store_connection(cls):
[
Output(
display_name="Vector Store Connection",
hidden=True,
hidden=False,
name="vectorstoreconnection",
method="as_vector_store",
group_outputs=False,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1998,7 +1998,7 @@
"cache": true,
"display_name": "Vector Store Connection",
"group_outputs": false,
"hidden": true,
"hidden": false,
"method": "as_vector_store",
"name": "vectorstoreconnection",
"selected": "VectorStore",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2875,7 +2875,7 @@
"cache": true,
"display_name": "Vector Store Connection",
"group_outputs": false,
"hidden": true,
"hidden": false,
"method": "as_vector_store",
"name": "vectorstoreconnection",
"selected": null,
Expand Down Expand Up @@ -3664,7 +3664,7 @@
"cache": true,
"display_name": "Vector Store Connection",
"group_outputs": false,
"hidden": true,
"hidden": false,
"method": "as_vector_store",
"name": "vectorstoreconnection",
"selected": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ const HandleRenderComponent = memo(function HandleRenderComponent({
(edge) => edge.target === nodeId && edge.targetHandle === myId,
);
const outputType = connectedEdge?.data?.sourceHandle?.output_types?.[0];
const connectedColor = outputType ? nodeColorsName[outputType] : "gray";
const connectedColor = (outputType && nodeColorsName[outputType]) || "gray";

const isNullHandle =
filterPresent && !(openHandle || ownDraggingHandle || ownFilterHandle);
Expand Down
1 change: 1 addition & 0 deletions src/frontend/src/utils/styleUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ export const nodeColorsName: { [char: string]: string } = {
embeddings: "teal",
documentloaders: "lime",
vectorstores: "yellow",
VectorStore: "yellow",
vectorsearch: "yellow",
textsplitters: "fuchsia",
toolkits: "red",
Expand Down
Loading