add directedGraphMatrixView
show the matrix in differet way

For the graph with weight, click the button, will popup a alertview for
inputting the weight.