I want a diagram like this

i want a diagram like this, please help me

Are those circles ports? What links are there and what do they connect? I don’t understand when there are supposed to be arrowheads or not.

Is the relative horizontal or relative vertical arrangement meaningful? Or is this graph just supposed to be laid out from top down? Except that that horizontal link wouldn’t be consistent with an overall top-down layout.

I hope you aren’t having any problem defining your simple node template and group template.