Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

The code

e = {{Subscript["E",1,2],Subscript["E",2,3]} -> {Subscript["E",1,3]}};
v = {{Subscript["E",1,2]}, {Subscript["E",1,3]}, {Subscript["E",
    2,3]}, {Subscript["E",1,2], Subscript["E",2,3]}};
GraphPlot[Join[e, #->#& /@ v], VertexLabeling->True, 
 EdgeLabeling->False, DirectedEdges->True, SelfLoopStyle->False,
 VertexCoordinateRules -> ((#->{Length[#],Automatic})& /@ v)]

produces enter image description here, but clearly my input also specifies a vertex $\{E_{1,2}\}$. Where is it?

share|improve this question
1  
It is under E[2,3]:) –  kguler Jun 3 at 21:40
    
Well how can I achieve that the picture includes all vertices? –  Leon Lampret Jun 3 at 21:44
    
You can see all if you remove your VertexCoordinateRules; or replace Automatic with some numbers of your choice. –  kguler Jun 3 at 21:47
    
I need VertexCoordinateRules and replacing Automatic with concrete numbers is not possible, since I have a family of large graphs, parametrized by natural numbers, and I can't insert data for each of them. –  Leon Lampret Jun 3 at 21:53
1  
this you may find useful. –  kguler Jun 3 at 22:27
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.