This is the solution I came up with when there are allied players at a star defending. A smaller shape to the left.
If there are more than one ally, they will stack up.
This feature should be rolling out in new games on Monday morning. Unless I find any outstanding bugs.
Who is up for a game with formal alliances enabled to test this out?