Given a graph of nodes and weighted edges between these nodes, such that the placement of each node is relative to other nodes in the graph, what is a good library (python preferred) to visualize these nodes with the weighted edges enforced? Lastly, how can I translate this relative graph onto a coordinate system relative to anything such that each node has a (x,y) coordinate?
Example:
Nodes: [A,B,C]
Edges: [(A,B,3), (A,C,4), (B,C,5)]
where 3, 4, and 5 are the weights of their respective edges.
This should draw a right 3,4,5 triangle. Then plot each node on a 2D coordinate system with some (x,y) coordinate for A, B, and C.