Are you good at making graphics in java? Then program it

Using that graphical interface

Using that graphical interface.

You can solve it by making adjacency matrix or
Adjacency list, better if you do both.

IMPORTANT: Use generic, directed graph, weighted graph.

Weighted matrix
It is the weighted matrix.

Good luck to you all.
I wait for your code 🙂