graphstream/gs-core

Cannot pick edge

Opened this issue · 1 comments

Not sure if the project is alive, but still
When using findGraphicElementAt for edges it can not find any.
I looked into DefaultCamera2D.class and the body of edgeContains method almost the same as nodeContains and only checks for a little region in the center of an edge

I've got the same problem and thus implement a new MouseManager where I copied the original code and adjusted it so that edges are found not only by their center. I explain this here