Apologies if I have not framed my question properly.
I am trying to create graph showing mapping from origins
list to ends
list. I am unable to get the required structure.
I tried all kinds of GraphLayout options but none of them worked for my case.
Can someone please point me to how to go about this?
Sample code:
ends = {"a", "b", "c", "d"};
origins = {1, 2, 3, 4, 5, 6, 7, 8, 9};
mps = UndirectedEdge @@@ Tuples[{origins, ends}];
Graph[mps, VertexLabels -> Automatic]
Expectation: