Graph data structure 8th commit.

- Fix highlight problems when hover
- Show "1" weight text label when use cancel the prompt
- Fix drawing quickly problem that makes the text outside
- Fix isTree