Freestyle not drawing all the edges
The perfect way to ensure the expected edge to be lined is by using Freestyle marks:


Select all edges you want to draw as edges, CtrlE > Make Freestyle Edge;
Only toggle Edge Mark in Freestyle Line Set panel. As shown below: