First let me reformulate the problem in a more geometric way.
Let $\Gamma$ be the metric space glued from segments of length $\pi/n$ along the rule described by your graph.
Note that diameter of $\Gamma$ is $\pi$ and any two points on distance $<\pi$ are joint by unique geodesic. (BTW this means that $\Gamma$ is a $CAT(1)$ space of diameter $\pi$ with extendable geodesics1-dimensional spherical building.)
It seems that Therefore your question can be reformulated the following is true.way:
Claim. Any such Let $\Gamma$ be a 1-dimensional spherical building and $f\colon \Gamma\to\mathbb S^n$ is isometric toa contracting map. Then the space obtained by gluing few copies ofimage $[0,\pi]$ along the ends$f(\Gamma)$ lies in a half-sphere.
Assume the later is proved. Let $f\colon \Gamma\to\mathbb S^n$ be a contracting map. Take the images of the ends, say $x,y\in \mathbb S^n$. Let $z$ be the midpoint of the minimizing geodesic from $x$ and $y$ in $\mathbb S^n$. Then the image of each arc and therefore the image of whole $\Gamma$ lies in the half-sphere with center $z$.