Arrange nodes from left to right in my own order

I have a certain dot file (simplified to very simple barebones from a very big file) like the following,

graph "G" {
node [shape=plaintext,fontsize=24,fontname=Helvetica];
ratio = 0.6;
margin = 0.0;

E1 [label = "E"]
E2 [label = "E"]

T4 [label = "T"]
P2 [label = "+"]

E1 -- E2; E1 -- T4; E1 -- P2;


The problem is in the leaf level, I am getting the nodes in the order, E T + (please see the attached image)

I want this to be E + T

Could you please tell me how to achieve this?


Recent comments

Syndicate content