Need to know more about Dagram gridlines

Wan to know more about grid lines, like how to connect by using lines between two nodes,and which is the event to get the coordinates values like x and y.
Please give me a solution.

Loader.
Up arrow icon