1

I am making a diagram using Tikz in an attempt to match the one below.

Example diagram to be replicated

So far I have this:

Replicated diagram

My problem is that the two paths from each 'trigger' node going into the 'susceptibility' node only converge on the western side of it. How do I get them to converge in the middle of the gap like in the first image? My code for the paths is as follows:

\path[draw]
    (trigger1.east) -| (susceptibility.west);
\path[draw]
    (trigger2.east) -| (susceptibility.west);

I understand that I need to have a path shape more like -|- rather than -| to achieve what I need, but I get an error saying 'cannot parse this coordinate' when using -|- . Is there any way to get a path with the -|- shape?

For context, I am using Overleaf.

This is my first time submitting a question here so please let me know if more info is needed or the images are broken.

0 Answers0