Skip to content

Document how to expand a parent node based on its children, remove expandParent from docs #760

Open
@superstes

Description

@superstes

What platform were you using when you found the bug?

  • React Flow / Svelte Flow version: 0.1.30
  • Browser and version: Chromium Version 133.0.6943.53 (Official Build)
  • OS and version: Debian GNU/Linux 12 (bookworm) (64-bit)

Live code example

https://stackblitz.com/edit/x75pr7nk-f4atnmyp

Describe the Bug

If expandParent: true is set for node 2a for the official docs-example - it does not work.
The same example for reactflow works as expected.

Steps to reproduce the bug or issue

  1. Add two nested nodes
  2. Add expandParent: true to the child-node
  3. Drag the child to an edge of the parent and see that the parents size does not change

Expected behavior

expandParent to work as seen in reactflow.

Screenshots or Videos

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

svelte-docsIssues belonging to the svelteflow website

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions