Update sidebar component and styleUtils
This commit is contained in:
parent
306bdd9fd5
commit
a2dfadcf4a
2 changed files with 6 additions and 7 deletions
|
|
@ -6,8 +6,9 @@ export function sortKeys(a: string, b: string) {
|
|||
"outputs",
|
||||
"prompts",
|
||||
"data",
|
||||
"prompts",
|
||||
"models",
|
||||
"utilities",
|
||||
"helpers",
|
||||
];
|
||||
const indexA = order.indexOf(a.toLowerCase());
|
||||
const indexB = order.indexOf(b.toLowerCase());
|
||||
|
|
|
|||
|
|
@ -6,11 +6,8 @@ import {
|
|||
Binary,
|
||||
BookMarked,
|
||||
BookmarkPlus,
|
||||
PlusCircle,
|
||||
PlusSquare,
|
||||
Bot,
|
||||
Boxes,
|
||||
GitCompare,
|
||||
Braces,
|
||||
BrainCircuit,
|
||||
Check,
|
||||
|
|
@ -90,6 +87,8 @@ import {
|
|||
Pin,
|
||||
Play,
|
||||
Plus,
|
||||
PlusCircle,
|
||||
PlusSquare,
|
||||
PocketKnife,
|
||||
Redo,
|
||||
RefreshCcw,
|
||||
|
|
@ -231,7 +230,7 @@ export const nodeColors: { [char: string]: string } = {
|
|||
textsplitters: "#B47CB5",
|
||||
toolkits: "#DB2C2C",
|
||||
wrappers: "#E6277A",
|
||||
utilities: "#31A3CC",
|
||||
helpers: "#31A3CC",
|
||||
langchain_utilities: "#31A3CC",
|
||||
output_parsers: "#E6A627",
|
||||
str: "#31a3cc",
|
||||
|
|
@ -354,7 +353,7 @@ export const nodeIconsLucide: iconsType = {
|
|||
toolkits: Package2,
|
||||
textsplitters: Scissors,
|
||||
wrappers: Gift,
|
||||
utilities: Wand2,
|
||||
helpers: Wand2,
|
||||
langchain_utilities: PocketKnife,
|
||||
WolframAlphaAPIWrapper: SvgWolfram,
|
||||
output_parsers: Compass,
|
||||
|
|
@ -475,4 +474,3 @@ export const nodeIconsLucide: iconsType = {
|
|||
Delete,
|
||||
Command,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue