BasicPrimitives / react

Basic Primitives Diagrams for React. Data visualization components library that implements organizational chart and multi-parent dependency diagrams.
https://basicprimitives.github.io/react/
Other
22 stars 5 forks source link

onItemRender not working with orgDiagramPdfkit #68

Closed raval08255 closed 1 year ago

raval08255 commented 1 year ago

I'm trying to use PDFkit with orgchart. It is working but custom template is not rendering even when onItemRender is passed with templates. Card size is changing from template but custom layout not working with orgDiagramPdfkit

BasicPrimitives commented 1 year ago

Organizational Diagram plugin for PDFKit published in BasicPrimitives/javascript repository and does not require React to render. Basic Primitives PDFKit plugin uses PDFKit document API to generate PDF templates, it is designed to support PDF-specific content. See the following sample for details: https://github.com/BasicPrimitives/javascript/blob/master/samples/pdfkit.plugins/UserItemTemplate.html