-
Notifications
You must be signed in to change notification settings - Fork 228
Open
Labels
enhancementimproving existent functionality or performance relatedimproving existent functionality or performance relatedpriority low
Description
Describe the bug
If nodeHighlightBehavior is true, then the node rearrange behaviour is different to when nodeHighlightBehavior is false.
To Reproduce
Steps to reproduce the behavior:
- Go to https://goodguydaniel.com/react-d3-graph/sandbox/index.html
- Set automaticRearrangeAfterDropNode: true
- Click fullscreen
- Drag a well connected node somewhere (Note that the nodes rearrange as expected).
- Click the red X
- Now set nodeHighlightBehavior: true (Double check automaticRearrangeAfterDropNode: true)
- Click fullscreen
- Drag a well connected node somewhere (Note that the nodes do not rearrange as before)
Expected behavior
When
{
"automaticRearrangeAfterDropNode": true,
"nodeHighlightBehavior": true
}drop rearrange behaviour is not the same as the expected behaviour when
{
"automaticRearrangeAfterDropNode": true,
"nodeHighlightBehavior": false
}Metadata
Metadata
Assignees
Labels
enhancementimproving existent functionality or performance relatedimproving existent functionality or performance relatedpriority low