gap-packages / francy

An Interactive Discrete Mathematics Framework for GAP

Home Page:https://gap-packages.github.io/francy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

minimize intersections of lables in .HASSE

pedritomelenas opened this issue · comments

It should be nice to have a way to minimize intersections of edges. This is interesting when drawing Hasse diagrams. Graphviz has this possibility, but with d3 this can be somehow difficult to achieve.
Thanks,
Pedro

Hi Pedro, I'll take a look into this ASAP... I'll probably create a fork of Francy d3 and implement it with viz.js

Manuel,
Will you be able to get callbacks with viz.js?
Thanks,
Pedro

Ok, going back to this.
I won't implement a fork of this with viz.js.
I wouldn't like to use more dependencies on the project, but the truth is that in large structures it might become a mess if we don't use a strategy to position labels...
I'll look into something like:

Released v0.5.2

Probably instead of moving vertically to avoid overlaps, you could spread horizontally the edges. As it is now
captura de pantalla 2018-03-04 a las 11 28 18
it seems that some edges in the same "level" are in different ones.