diff --git a/frontend/src/renderer/components/tree/TreeLibrary.tsx b/frontend/src/renderer/components/tree/TreeLibrary.tsx index 4385019d..1fb10e76 100644 --- a/frontend/src/renderer/components/tree/TreeLibrary.tsx +++ b/frontend/src/renderer/components/tree/TreeLibrary.tsx @@ -12,6 +12,7 @@ import { } from '@mantine/core'; import { useCallback, useEffect, useMemo, useRef, useState } from 'react'; import { + IconMathFunction, IconFileUnknown, IconFolder, IconFolderOpen, @@ -186,6 +187,7 @@ function NodeIcon({ NodeInfoTypeEnum.INTEGER, NodeInfoTypeEnum.FLOAT, NodeInfoTypeEnum.STRING, + NodeInfoTypeEnum.COMPLEX, ].includes(type) ) { if (hasUserSelectedText()) { @@ -300,6 +302,9 @@ function NodeIcon({ [NodeInfoTypeEnum.STRING]: getCheckboxIcon( , ), + [NodeInfoTypeEnum.COMPLEX]: getCheckboxIcon( + , + ), }; return ( diff --git a/frontend/src/renderer/types/nodes.ts b/frontend/src/renderer/types/nodes.ts index 73504108..ee4d005a 100644 --- a/frontend/src/renderer/types/nodes.ts +++ b/frontend/src/renderer/types/nodes.ts @@ -4,6 +4,7 @@ export enum NodeInfoTypeEnum { INTEGER = 'INT', FLOAT = 'FLT', STRING = 'STR', + COMPLEX = 'CPX', } export type NodeInfoChildrenResponse = {