basicprimitives
Version:
Basic Primitives Diagrams for JavaScript - data visualization components library that implements organizational chart and multi-parent dependency diagrams, contains implementations of JavaScript Controls and PDF rendering plugins.
23 lines (18 loc) • 388 B
JavaScript
export default function CustomRenderTemplate(options, onRender) {
function template() {
return {};
}
function getHashCode() {
return 0;
}
function render(doc, position, data) {
if (onRender != null) {
onRender(doc, position, data);
}
}
return {
template: template,
getHashCode: getHashCode,
render: render
};
};