Creates PDFKit Organizational Chart Plugin
OrgDiagramPdfkit
OrgDiagramPdfkit(options)
Creates PDFKit Organizational Chart Plugin
Returns: OrgDiagramPdfkit - returns reference to organizational diagram pdfkit renderer instance.
| Param | Type | Default | Description |
|---|---|---|---|
options |
OrgConfig | `` | Organizational Chart Configuration object |
draw(doc, positionX, positionY)
Calculates size of the diagram required to render all nodes without truncation.
Returns: Size - returns size of the diagram
| Param | Type | Default | Description |
|---|---|---|---|
doc |
object | `` | PDFKit document |
positionX |
number | `` | Diagram placement X coordinate |
positionY |
number | `` | Diagram placement Y coordinate |
getSize()
Calculates size of the diagram required to render all nodes without truncation.
Returns: Size - returns size of the diagram
Creates PDFKit Family Diagram Plugin
FamDiagramPdfkit
FamDiagramPdfkit(options)
Creates PDFKit Family Diagram Plugin
Returns: FamDiagramPdfkit - returns reference to family diagram pdfkit renderer instance.
| Param | Type | Default | Description |
|---|---|---|---|
options |
FamConfig | `` | Organizational Chart Configuration object |
draw(doc, positionX, positionY)
Calculates size of the diagram required to render all nodes without truncation.
Returns: Size - returns size of the diagram
| Param | Type | Default | Description |
|---|---|---|---|
doc |
object | `` | PDFKit document |
positionX |
number | `` | Diagram placement X coordinate |
positionY |
number | `` | Diagram placement Y coordinate |
getSize()
Calculates size of the diagram required to render all nodes without truncation.
Returns: Size - returns size of the diagram