Skip to content

Disable user from accidentally pausing first render animation #403

@mermicode

Description

@mermicode

Hi All!

Loving this component and been working with it quite a lot recently. I'm having an issue understanding something around the first render.

I've noticed when the first render occurs, if I have my cursor over a node that is connected to other nodes, it pause the initial animation and distorts the diagram. The nodes then get very spaced apart and it's not really readable.

I went through the documentation and searched for other sources and I can't see anything specific. I tried changing settings in the config but that doesn't make any difference.

The nodes always get created from the top left and move to the middle of the diagram. I was wondering:

  1. Is there a way to specify the nodes to get created in the middle of the screen (rather than top left)?
  2. And/Or is there a way to disable the user from hovering and pausing the initial animation?

In terms of action I have only 'onClickNode' enabled rather than hover or anything else.

Thank you! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions