microsoft / msagljs

A JavaScript graph layout engine: port of MSAGL
https://microsoft.github.io/msagljs/
MIT License
148 stars 15 forks source link

WebGL line quality very poor #79

Open wvdvegt opened 8 months ago

wvdvegt commented 8 months ago

The quality of the splines/lines when using the webgl rendering is very poor compared to the svg renderen.

WebGL: image

SVG: image

Seems anti-aliassing is missing. Using Edge on Windows.

levnach commented 8 months ago

WebGL targets for bigger graphs and it is a design decision of @Pessimistress to sacrifice the quality for speed.

wvdvegt commented 8 months ago

The graphs are 2xA4 at least. So not small. Would be nice if quality was adjustable. But if not I will stick to svg.

levnach commented 8 months ago

If it is ever will be supported, it would take a while to address. But msagljs is open source. Feel free to create a pull request if you have an idea.