The hierarchy can be set up in the Organizational roles section. Organizational roles are user groups that represent company units, departments, or subdivisions in the organizational structure. More detailed information can be found in the User management - Organizational roles Academy article.
Otherwise, you can create a relationship diagram directly on the Contact page that will show all internal and external contact and account relationships as a chart. The relationships can be depicted with either a vertical hierarchy or a horizontal connection. Please take a look at theRelationships between accounts and contacts Academy article.
After looking through the articles what I see I need is a relationship type of "Direct Connection", although when I select a relationship that has the type "Direct Connection" it still displays horizontally.