Skip to content

rete-auto-arrange-plugin needs height property defined #712

Open
@Krong

Description

@Krong

Describe the bug

If node has property height defined, then auto-arrange working fine, but node does not rendered properly - conrols can go outside of node.
If node has property height undefined, then node autosizes height as needed, but auto-arrange is not working.

Guess that auto-arrange-plugin should autocalc node height like document.getElementById("div1").clientHeight or similar.

Example to reproduce

No response

How to reproduce

create a several nodes without height defined
call auto-arrange

Expected behavior

auto-arrange nodes

Dependencies

"rete": "^2.0.3",
"rete-auto-arrange-plugin": "^2.0.1",

Platform

Chrome 121.0.6167.139

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions