DOT 符号排名不将项目放置在同一水平线上 line/plane

DOT notation rank not placing items on the same horizontal line/plane

这就是我想要的:https://media-us.amboss.com/media/thumbs/big_58ac9ed16c2bf.jpg

这就是我所拥有的(现在只是第一部分):

digraph G {

"Palpable breast mass" -> "Age of patient?";
"Age of patient?" -> "Clinical assessment: probability of malignancy?" [label="< 30yo"];
"Clinical assessment: probability of malignancy?" -> "Reexamine 3-10 days after onset of menstruation" [label="Low"];
"Reexamine 3-10 days after onset of menstruation" -> "Ultrasound and/or FNA" [label="Suspicious mass"];
"Clinical assessment: probability of malignancy?" -> "Ultrasound and/or FNA" [label="High"];
"Ultrasound and/or FNA" -> "Mammography" [label="No visualization possible"];
"Age of patient?" -> "Mammography" [label="> 30yo"];
"Mammography" -> "Ultrasound and/or FNA" [label="Inconclusive"];
{rank=1;
"Palpable breast mass";
}
{rank=2;
"Age of patient?";
}
{rank=3;
"Clinical assessment: probability of malignancy?";
}
{rank=4;
"Reexamine 3-10 days after onset of menstruation";
"Ultrasound and/or FNA";
"Mammography";
}
}

但是,排名不符合我的要求。我希望 rank=4 中的所有项目都在同一水平 line/plane 上。这是它的样子:

没关系,我意识到我需要在每个括号中写 rank=same 而不是实际值。像这样:

{rank=same;
"Palpable breast mass";
}
{rank=same;
"Age of patient?";
}
{rank=same;
"Clinical assessment: probability of malignancy?";
}
{rank=same;
"Reexamine 3-10 days after onset of menstruation";
"Ultrasound and/or FNA";
"Mammography";
}