Skip to content

Slow Performance on Dashed Smoothed Edges #313

@bznick98

Description

@bznick98

Hi, I've observed that the pyvis (or vis.js) has particularly slow performance for dashed + smoothed edges, for example:

  • Graph 1: 402 edges (337 dashed) -> laggy
  • Graph 2: 1284 edges (0 dashed) -> responsive

The physics is disabled and I've tried continuous and cubicBezier smooth option, the rest of the two graphs are very similar, so even with smaller number of edges, Graph 1 is much less responsive when dragging the graph around. Is there any workaround or option that I'm missing? Thanks.

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