import { t } from '../../i18n.js';
/**
* Generates the HTML for node properties.
*/
export function getNodeTemplate(data, allGroups) {
return `
${(() => {
const nodeType = (data.type || '').toLowerCase();
const primitives = ['rect', 'circle', 'rounded-rect', 'text-box', 'label', 'triangle', 'diamond', 'parallelogram', 'cylinder', 'document', 'manual-input', 'rack'];
if (data.is_group || primitives.includes(nodeType)) {
return `
`;
}
return '';
})()}
`;
}