`;
// Input section
if (Object.keys(node.definition.inputs).length > 0) {
html += `
Inputs
`;
Object.keys(node.definition.inputs).forEach(key => {
const input = node.definition.inputs[key];
const value = node.inputs[key] || input.default || '';
html += `
`;
});
html += `
`;
}
// Output section
if (Object.keys(node.definition.outputs).length > 0) {
html += `
Outputs
`;
Object.keys(node.definition.outputs).forEach(key => {
const output = node.definition.outputs[key];
html += `
`;
});
html += `
`;
}
html += `