Skip to content

Sankey Chart - Automatic re-aligning of nodes breaks after first drag-and-drop #2519

@cvesteghem

Description

@cvesteghem

After drag-and-dropping a node in a sankey chart and a proper re-alignment of the nodes, the next drag-and-drop is not followed by a realignment.

Step to reproduce

  • Go to https://plotly.com/python/sankey-diagram/
  • On a the diagram, drag-and-drop a node (B2 in the screenshot), the re-alignment works
  • Drag-and-drop another node, there is no re-alignment (see C2 node on the screenshot)
    Screenshot 2020-05-30 at 12 27 10

Expected behaviour
The nodes are re-aligned every time.

Environment

  • MacOS 10.15.4
  • Firefox 76.0.1 & Safari 13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions