fix: improve clicking in graph