Is there a way to make a medical algorithm revision app

I have been trying to figure out the quickest way to make an app to review the algorithms studied in med school.
I want the app to hide the entire algorithm and show a step with every click.
to do this manually in kodular is near impossible because the pointers and multiple rows are just not doable (tried for days)… there are also 1000s of these so even if possible it i will take years.

If I can upload the algorithms as pictures and then somehow save the XY coordinates of every step place in the picture and hide everything and reveal it one by one it will be doable but I don’t know how to do it like this

picture is an example of an algorithm I just happened to be studying when I decided It’s time to seek help from the community.