Skip to main content
Version: 4.3

HTMLBoxProps

Props for HTMLBox. Same shape as HTMLHostProps: className is merged with the jj-box class and style is layered on top of the default box styling before reaching the underlying HTMLHost; the rest pass through unchanged.

Extends

Properties

useModelGeometry?

readonly optional useModelGeometry?: boolean;

Skip measuring the rendered content and size the host from the graph element's stored geometry instead. Cheaper, but the element no longer auto-resizes when the React subtree changes.

Default

false

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub