

%
\begin{tikzpicture}[decoration={
    markings,
    mark=at position 0.5 with {\arrow{latex}}}] 

\tikzstyle{every path}=[draw] 
		\path
    node[
      regular polygon,
      regular polygon sides=8,
      draw=none,
      inner sep=1.7cm,
    ] (T) {}
    %
    % Annotations
    (T.corner 1) node[above] {$n$}
    (T.corner 2) node[above] {$1$}
    (T.corner 3) node[left]  {$2$}
    (T.corner 4) node[left]  {$3$}
    (T.corner 5) node[below] {$4$}
    (T.corner 6) node[below] {$5$}
    (T.corner 7) node[right] {}
    (T.corner 8) node[right] {$n-1$}
;


\draw [-] (T.corner 6) to (T.corner 5) to (T.corner 4) to (T.corner 3) to (T.corner 2) to (T.corner 1) to (T.corner 8);
\draw [dashed] (T.corner 8) to (T.corner 7) to (T.corner 6);
\foreach \i in {4,5,6,8}{
    \draw [postaction={decorate}]  (T.corner 2) to (T.corner \i);
}
\draw [dashed] (T.corner 2) to (T.corner 7);


\foreach \x in {1,2,...,7}{
\draw (T.corner \x) node [fill,circle,scale=0.2] {};}

\coordinate (m1) at ($0.3*(T.corner 2)+0.3*(T.corner 4)+0.4*(T.corner 3)$);
\coordinate (m2) at ($0.33*(T.corner 5)+0.33*(T.corner 4)+0.33*(T.corner 2)$);
\coordinate (m3) at ($0.33*(T.corner 5)+0.33*(T.corner 2)+0.33*(T.corner 6)$);
\coordinate (m4) at ($0.33*(T.corner 7)+0.33*(T.corner 2)+0.33*(T.corner 6)$);
\coordinate (m5) at ($0.33*(T.corner 7)+0.33*(T.corner 2)+0.33*(T.corner 8)$);
\coordinate (m6) at ($0.4*(T.corner 1)+0.3*(T.corner 2)+0.3*(T.corner 8)$);


\node at (m1) {$\theta_1$};
\node at (m2) {$\theta_2$};
\node at (m3) {$\theta_3$};
\node at (m6) {$\theta_{n-2}$};



\end{tikzpicture}
%
\;\;
\begin{tikzpicture}[decoration={
    markings,
    mark=at position 0.5 with {\arrow{latex}}}
    ] 

\tikzstyle{every path}=[draw] 
		\path
    node[
      regular polygon,
      regular polygon sides=8,
      draw=none,
      inner sep=1.7cm,
    ] (T) {}
    %
    % Annotations
    (T.corner 1) node[above] {$1$}
    (T.corner 2) node[above] {$n$}
    (T.corner 3) node[left]  {$n-1$}
    (T.corner 4) node[left]  {}
    (T.corner 5) node[below] {$5$}
    (T.corner 6) node[below] {$4$}
    (T.corner 7) node[right] {$3$}
    (T.corner 8) node[right] {$2$}
;

\coordinate (p1) at (T.corner 2);
\coordinate (p2) at (T.corner 1);
\coordinate (p3) at (T.corner 8);
\coordinate (p4) at (T.corner 7);
\coordinate (p5) at (T.corner 6);
\coordinate (p6) at (T.corner 5);
\coordinate (p7) at (T.corner 4);
\coordinate (p8) at (T.corner 3);

\draw [-] (p6) to (p5) to (p4) to (p3) to (p2) to (p1) to (p8);
\draw [dashed] (p8) to (p7) to (p6);
\foreach \i in {4,5,6,8}{
    \draw [postaction={decorate}]  (p2) to (p\i);
}
\draw [dashed] (p2) to (p7);


\foreach \x in {1,2,...,7}{
\draw (p\x) node [fill,circle,scale=0.2] {};}

\coordinate (m1) at ($0.3*(p2)+0.3*(p4)+0.4*(p3)$);
\coordinate (m2) at ($0.33*(p5)+0.33*(p4)+0.33*(p2)$);
\coordinate (m3) at ($0.33*(p5)+0.33*(p2)+0.33*(p6)$);
\coordinate (m4) at ($0.33*(p7)+0.33*(p2)+0.33*(p6)$);
\coordinate (m5) at ($0.33*(p7)+0.33*(p2)+0.33*(p8)$);
\coordinate (m6) at ($0.4*(p1)+0.3*(p2)+0.3*(p8)$);


\node at (m1) {$\theta_1$};
\node at (m2) {$\theta_2$};
\node at (m3) {$\theta_3$};
\node at (m6) {$\theta_{n-2}$};


\end{tikzpicture}\quad\quad

