Isoflow
API
Props

Props

NameTypeDescriptionDefault
initialDataobjectThe initial data that Isoflow will render. If undefined, isoflow loads a blank scene.undefined
widthnumber | stringWidth of the Isoflow renderer as a CSS value.100%
heightnumber | stringHeight of the Isoflow renderer as a CSS value.100%
onModelUpdatefunctionA callback that is triggered whenever an item is added, updated or removed from the Model. The callback is called with the updated Model as the first argument.undefined
enableDebugToolsbooleanEnables extra tools for debugging purposes.false
editorMode"EXPLORABLE_READONLY" | "NON_INTERACTIVE" | "EDITABLE"Enables / disables editor features."EDITABLE"
mainMenuOptions("ACTION.OPEN" | "EXPORT.JSON" | "EXPORT.PNG" | "ACTION.CLEAR_CANVAS" | "LINK.GITHUB" | "LINK.DISCORD" | "VERSION")[]Shows / hides options in the main menu. If [] is passed, the menu is hidden.All enabled

logo

A Revarex tool.
Copyright © 2024 Revarex Limited.

Resources

BlogCloud & networking icons

Privacy policy

Terms of service

Refund policy

Cookie policy

Cookie preferences

Need help? Contact us