SiLeBAT / fcl-client

Web app for analyzing food delivery networks
https://silebat.github.io/fcl-client/
GNU General Public License v3.0
7 stars 2 forks source link

Refactoring of schema graph #475

Open bfrgottscma opened 3 years ago

bfrgottscma commented 3 years ago

@ruegenbfr could you please structure the task into tickets?

Structuring idea:

test

update/ create cyWrapper api

restore feature hover elements

restore/refine feature ghost elements

create parallel infrastructure

update context menu handling:

clean up parallel infrastructure

ruegenbfr commented 3 years ago

Background:

The graph framework we are using supports only zoom dependent elements/test sizes/widths. To make node and font size and edge width zoom independent the commit to ticket #198 changes font size, node size, edge width size in the background to fake zoom independence. (e.g. given a zoom level of 10:1 and font size of 12 in the background a font size of 1.2 was used). However, this mechanism has drawbacks: the graph framework has an internal absolute minimum size for arrow heads. The text labels show browser dependent artifacts (cut off/overlays) for very small font sizes and the 'background' sizes mess up layouting algorithms respecting individual node sizes. (as F2F)

Solution:

The refactoring introduces a graph framework independent virtual zooming mechanism.

To test: