Creating flowchart with DiagrammeR nodes and edges instead of graphviz

I have seen that attribute in the documentation but it is described as "the thickness of the stroke for the shape".

I've tried to create a more sophisticated flowchart (it has more nodes) with the tree layout method and without the invisible nodes. The only problem is that the nodes that I want to be on the same level ("rank" in graphviz) are not on the same level here.