Skip to content

Dynamic positions for inputs and outputs nodes #917

@jeremiecourlivant

Description

@jeremiecourlivant

Hello,

I test Drawflow since severals days and it works fine and it's very useful.

I follow this issue to positioningg the inputs and outputs : #363 (comment).

image

It works fine but if I add text on the node after the creation of the node, the positionning is wrong.

image

I try to add the text after the inputs/outputs but it moves. I thought that the connections wouldn't move becaus the text is below.

image

I try to reapplicate the code to place the connections and it doesn't work, and the placement depends of the position of the node on the screen.

I tryy to get the height of the added text and add or substract this height to the positions of the connection but it doesn't work.

So, do you have a solution for this problem ?

Thanks,
Jérémie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions