mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-25 20:40:36 +03:00
M: Improve typification labeling
This commit is contained in:
parent
6c75b0af3a
commit
1eadbf5ba5
|
@ -105,7 +105,7 @@ export { LuSubscript as IconAlias } from 'react-icons/lu';
|
|||
export { TbMathFunction as IconFormula } from 'react-icons/tb';
|
||||
export { BiFontFamily as IconText } from 'react-icons/bi';
|
||||
export { BiFont as IconTextOff } from 'react-icons/bi';
|
||||
export { TbCar4Wd as IconTypeGraph } from 'react-icons/tb';
|
||||
export { TbCircleLetterM as IconTypeGraph } from 'react-icons/tb';
|
||||
export { RiTreeLine as IconTree } from 'react-icons/ri';
|
||||
export { FaRegKeyboard as IconControls } from 'react-icons/fa6';
|
||||
export { RiLockLine as IconImmutable } from 'react-icons/ri';
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -3,6 +3,8 @@
|
|||
import { Handle, Position } from 'reactflow';
|
||||
import clsx from 'clsx';
|
||||
|
||||
import { labelCstTypification } from '@/features/rsform/labels';
|
||||
|
||||
import { APP_COLORS } from '@/styling/colors';
|
||||
import { globalIDs } from '@/utils/constants';
|
||||
|
||||
|
@ -95,5 +97,5 @@ export function TGNode(node: TGNodeInternal) {
|
|||
|
||||
// ====== INTERNAL ======
|
||||
function describeCstNode(cst: IConstituenta) {
|
||||
return `${cst.alias}: ${cst.term_resolved}</br>Типизация: ${cst.parse.typification}`;
|
||||
return `${cst.alias}: ${cst.term_resolved}</br>Типизация: ${labelCstTypification(cst)}`;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user