I have a problem and I'm having trouble representing it - first I thought I should use graph theory (nodes and edges) and now I'm not sure.
My data is some tanks names and it's volumes, those tanks are connected by pipelines which I have the names and length.
------(pipeline 1)------.-----(pipeline 2)------.----(pipeline 3)--- | | | | | [R tank 1] [S tank 1] [S tank 2] (pipeline 4) [S tank 3] | [S tank 4] R tank is sink (receiver) and S tank is source (sender)
Problem is the pipe names change doesn't occur where there is a tank - they change name because historical reasons, size or connections...
So if I want to graphically show that S tank 2 is connected to pipeline 2 at point X and pipeline 2 connects to pipeline and the content goes to R tank 1, how should I do this? (I think the point X may not be relevant but if I had some way to get the distance travelled would be great).