This was an attempt to create a diagram similar to what a user wanted. The goal was to show the…