jeanbellynck / Cayley-Graph-Generator

Graphicayley (formerly Cayley Graph Generator) is an Unity Application to convert group presentations into pretty Cayley Graphs.
https://jeanbellynck.github.io/graphicayley.html
MIT License
1 stars 0 forks source link

Vertex label on hover #68

Closed jeanbellynck closed 6 months ago

jeanbellynck commented 9 months ago

Add label of a vertex on mouse hover. Different paths to the identity are already saved after all. Idea from reddit: https://www.reddit.com/r/math/comments/1aimjq8/understanding_groups_and_drawing_pretty_pictures/

p4jo commented 9 months ago

This would be awesome and not too hard: https://www.phind.com/search?cache=sfh1cc3nou8ofrnzuum2gzqi We would have to check which vertex in the line of sight is closes to the camera and only allow it to show its tooltip, but this would be fine.

p4jo commented 9 months ago

Extra bonus: highlight all the paths to the identity (make the edges glow or like with a text marker, or just make them larger, or sparkle or change color as an animation etc)

jeanbellynck commented 9 months ago

A great idea! You might click on a vertex to highlight it and it's path to the identity. Then you might click again to make this vertex the new Center.

p4jo commented 7 months ago

The vertex label was implemented, and left-clicking makes it the center. We could still highlight the saved paths from the identity