feat: canvas UX fixes — scroll, fullscreen, InfoTip tooltips, answer stub system #80
@@ -132,7 +132,9 @@ export function TreeCanvasNode({
|
||||
onToggleExpand()
|
||||
}
|
||||
|
||||
const config = NODE_TYPE_CONFIG[node.type]
|
||||
const config = node.type in NODE_TYPE_CONFIG
|
||||
? NODE_TYPE_CONFIG[node.type as keyof typeof NODE_TYPE_CONFIG]
|
||||
: NODE_TYPE_CONFIG.decision // fallback for 'answer' (rendered by AnswerStubCard)
|
||||
const TypeIcon = config.icon
|
||||
|
||||
const getTitle = () => {
|
||||
|
||||
Reference in New Issue
Block a user