vertical version of class diagram