I want to construct a node-link graph. What is known is the ID of the two nodes on the terminal of each link (link ID is also known). Based on this information,how can I construct a node-link graph. Thanks.