They were all outcomes that Kagari had gone through in order to find as close to a happy ending as possible.
And yeah, this main route thing is getting confusing. If you mean a main story, like the whole girl in the sky thing from Air, then the other routes could be considered part of the story… Even in things like G-Senjou, the routes that completely drop the main plot can still be considered part of the main story.