The other type of multiple-hat situation is an employee who is directed by more than one manager. While it's not unusual for an employee to work in several teams and take direction from more than one manager, there is usually just one position to which they report. This is the position that hires them, sets their salary, and is the (one) position they report to in an organization chart.
But there are exceptions. One common example is an assistant that works for three managers. How do you draw an org chart that shows these multiple-person relationships?
The best way to show relationships outside the hierarchy of a normal org chart layout is with a dotted line connecting the boxes of two positions.
Jane reports to Dan because he sets her salary and hired her. This connection is shown with a solid line. But she assists Tony and Linda, as well as Dan. Therefore, when drawing an org chart, her connection to their positions is represented with a dotted line.
It's not useful to try and impose the structure of multiple teams on the organization chart with lots of dotted lines. Too many and the chart becomes a mess. If this is the case, then it's better to create a separate org chart for each team. A team chart shows the role of team leader in the center with the other team members and their roles surrounding it.