(nodeType)
| 189 | * @returns {Object|null} Help content for that node type, or null for unknown types |
| 190 | */ |
| 191 | export function getNodeHelp(nodeType) { |
| 192 | if (!nodeType) { |
| 193 | return null |
| 194 | } |
| 195 | |
| 196 | const type = nodeType.toLowerCase() |
| 197 | const content = getHelpContent(`workflowNode.${type}`) |
| 198 | |
| 199 | // Return null for unknown types (when content lookup fails) |
| 200 | // This prevents showing tooltips for custom/user-defined node types |
| 201 | return content |
| 202 | } |
| 203 | |
| 204 | /** |
| 205 | * Get edge help content based on edge properties |
nothing calls this directly
no test coverage detected