Question: yed how to draw a line?
Answer: Create a round rectangle node. Right-click the node to open its context menu, choose "Add Label". ...  CTRL-click the new label to select it. Change "Border" to e.g. black. Change "Size" to "Fit Node Width". Change Placement to "Internal: Top". Change "Distance" to e.g. 40.