Rasterizes a column-of-boxes inheritance layout (see
build_inheritance_columns) into a simple box-and-arrow PNG. Own visual
style, not a byte-for-byte clone of any third-party tool’s diagrams –
shared between the ODA and Default renderer families.
Returns:
Raw PNG bytes.
Methods
render_inheritance_diagram_png
render_inheritance_diagram_png(columns: List]) -> bytes
Rasterizes a column-of-boxes inheritance layout (see
build_inheritance_columns) into a simple box-and-arrow PNG. Own visual
style, not a byte-for-byte clone of any third-party tool’s diagrams –
shared between the ODA and Default renderer families.
Returns:
Raw PNG bytes.
| Parameter | Type | Description |
|---|---|---|
| columns | List] | The box layout, left (ancestor) to right (cls itself). |
Generated with Flude
Copyright © 2026