\documentclass[border=10pt]{standalone}


        \usepackage{tikz}
        \usetikzlibrary{decorations.markings, shapes.geometric}
        \usetikzlibrary{backgrounds} 

        
\definecolor{vertexcol}{RGB}{250,250,250}\definecolor{col0}{RGB}{0,0,204}\definecolor{col1}{RGB}{204,0,0}\definecolor{col2}{RGB}{0,204,0}\definecolor{col3}{RGB}{255, 165, 0}\definecolor{col4}{RGB}{128,0,128}\definecolor{col5}{RGB}{255, 255, 0}\definecolor{col6}{RGB}{102, 0, 102}\definecolor{fontcolor}{RGB}{0,0,0}

        \begin{document}

        \tikzset{
            bicolor/.style n args={2}{
                postaction={draw=#1, decoration={curveto,  post=moveto, post length=0.5*\pgfmetadecoratedpathlength}, decorate},
                postaction={draw=#2, decoration={curveto,  pre=moveto, pre length=0.5*\pgfmetadecoratedpathlength}, decorate},
            },
            bicolor_neg/.style n args={2}{
                postaction={draw=#1, decoration={curveto,  pre=moveto, pre length=0.5*\pgfmetadecoratedpathlength}, decorate},
                postaction={draw=#2, decoration={curveto,  post=moveto, post length=0.5*\pgfmetadecoratedpathlength}, decorate},
                postaction={decoration={markings, mark=at position 0.5 with {\node[diamond, fill=white, aspect=0.7,draw, thin, minimum width=10pt,opacity=1] {};}}, decorate},
            },
            vertex/.style={circle, draw=black, ultra thick ,fill=vertexcol!80,minimum size=15pt},   
        }

        \begin{tikzpicture}

        
\node[vertex] (0) at (3.0,0.0) [circle,dashed] {\color{fontcolor}0};
\node[vertex] (1) at (1.8704694055762008,2.3454944474040893) [circle,dashed] {\color{fontcolor}1};
\node[vertex] (2) at (-0.667562801868943,2.924783736545471) [rectangle] {\color{fontcolor}2};
\node[vertex] (3) at (-2.702906603707257,1.3016512173526746) [rectangle] {\color{fontcolor}3};
\node[vertex] (4) at (-2.7029066037072575,-1.301651217352674) [rectangle] {\color{fontcolor}4};
\node[vertex] (5) at (-0.6675628018689438,-2.9247837365454705) [rectangle] {\color{fontcolor}5};
\node[vertex] (6) at (1.8704694055762001,-2.3454944474040897) [rectangle] {\color{fontcolor}6};
\begin{scope}[on background layer]
\path[line width=4.0,bicolor={col0}{col0}, looseness=10,right,out=30.0,in=-30.0, opacity=1.0] (0) to (0);
\path[line width=4.0,bicolor_neg={col0}{col0}, bend right=0.0, opacity=0.4456706828571158] (0) to (1);
\path[line width=4.0,bicolor={col0}{col0}, bend right=0.0, opacity=0.8069178013910424] (0) to (3);
\path[line width=4.0,bicolor={col0}{col0}, bend right=0.0, opacity=1.0] (0) to (4);
\path[line width=4.0,bicolor_neg={col0}{col0}, bend right=0.0, opacity=0.739356051242636] (0) to (6);
\path[line width=4.0,bicolor={col0}{col0}, looseness=10,right,out=81.42857142857143,in=21.42857142857143, opacity=1.0] (1) to (1);
\path[line width=4.0,bicolor={col0}{col0}, bend right=0.0, opacity=0.8389106222379384] (1) to (2);
\path[line width=4.0,bicolor={col0}{col0}, bend right=0.0, opacity=1.0] (1) to (4);
\path[line width=4.0,bicolor={col0}{col0}, bend right=0.0, opacity=0.7643720301523899] (1) to (5);
\path[line width=4.0,bicolor={col0}{col0}, bend right=0.0, opacity=1.0] (2) to (3);
\path[line width=4.0,bicolor={col0}{col0}, bend right=0.0, opacity=1.0] (5) to (6);

            \end{scope}

        \end{tikzpicture}

        \end{document}
        
