I have vague memories of a high school teacher trying to share some sort of formula for the shape of a story, complete with peaks and valleys. I don’t remember it and I’m not suffering without it. But there are some important concepts to know.
Even if your novel is moving at breakneck speed, you need to have shifts in tension. Everything should slowly be building upwards, but along the line you need to pepper your novel with scenes or chapters that let the reader recover from an intense experience.
When to do what comes with practice. Ways to let a little steam out of the valve are humour and scenes for character development (among others). Some of those little scenes that just give you insight are great ways to give the reader time to breath.
You may divide your books into parts, or acts. Usually if you have a very heavy early climax, and a big shift for the rest of the book, it is a good place to put in an “end part one.” All books need a final climax and I have yet to see one that didn’t require a denouement at the end.
As for your pacing and rhythm? That is something you need to find through practice. While you are developing an ear for the language (see my article on language) you will notice some books are more fun because of the speed they move. Read enough of those and it will become internal and automatic. Then you just need to bring it out in your own work.
You can study lines on a graph if you like. But it is far easier, more productive, and more fun, to train your brain to follow a pattern that fits your work.