Fix layout issue with flow right

direction was not applied when the node was actually replaced
Slightly improve documentation