The links is so blurry unless we change if (this.graph.config.links_ontop) to if(true) in file src\litegraph.js line 7938.
|
if (this.graph.config.links_ontop) { |
Reproduce steps:
- git clone https://github.com/jagenjo/litegraph.js.git
- cd litegraph.js
- npm install
- node utils/server.js
- Open
Copy Paste demo.
- We can see that the links is blurry.
- Change
if (this.graph.config.links_ontop) to if(true) in file src\litegraph.js line 7938.
- Reload page and Open
Copy Paste demo.
- We can see that the links is clear.
Before
vs After
Upate: I just found the problem where it is. This is because we only scale the foreground canvas, but not the background canvas.