Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init elementOptions from options: _getColor, this.elementOptions.scaling.label.drawThreshold always equal 5 (default value) #2061

Open
KBAHTNET opened this issue Nov 8, 2023 · 0 comments

Comments

@KBAHTNET
Copy link

KBAHTNET commented Nov 8, 2023

There was a problem with the disappearance of signatures from nodes when a graph is drawn on a very large canvas, for example, 100000 * 100000 px. The equivalent effect of rendering on a canvas, the size of a standard screen and the maximum approximation when the signatures become transparent. I started to figure out how to make them stay, eventually I found the "scaling.label" parameter in the options in the documentation. I changed this object in different ways. The effect values 0. I started reading the sources and got to the _getColor function. Inside the function, I output various parameters and realized that the values I set in the options (not at the node itself) have no effect on what will be inside this.elementOptions.scaling.label. I use the library in vue 3

  • version 9.1.9
  • date 2023-11-03T01:42:27.418Z
    image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant