Graph data structure 5th commit.

- Fix bug: remove weight text when vertex is removed
- Remove redundant code in graph_directed.html