Skip to content

Unable to update ctxRenderer for custom shapes #2171

Open
@dmarov

Description

@dmarov
  • browser: latest firefox
  • OS: Windows 10

I was unable to update ctxRenderer for custom shape in vis-network using function updateOnly

Code example: https://codepen.io/Dmitry-Marov/pen/WNqbEXN

Expected result: red square changes to green circle and back every second.
Actual result: red square does not change to green circle, even though ctxRenderer function gets updated.

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