\tikzstyle{every picture}+=[font=\footnotesize\sffamily] \usetikzlibrary{calc, shapes, arrows.meta, decorations.pathreplacing, calligraphy, positioning} \tikzstyle{decision} = [diamond, draw=codeblack, fill=codeblack, text=white, text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt, line width=2mm] \tikzstyle{block} = [rectangle, draw=codeblack, fill=white, text=black, text width=5em, text centered, rounded corners, minimum height=4em, line width=0.4mm] \tikzstyle{decision_start} = [diamond, draw=codeblack, fill=pinkpic, text=black, text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt, line width=0.4mm] \tikzstyle{start} = [rectangle, draw=codeblack, fill=pinkpic, text=black, text width=5em, text centered, rounded corners, minimum height=4em, line width=0.4mm] \tikzstyle{success} = [rectangle, draw=codeblack, fill=yellowpic, text=black, text width=5em, text centered, rounded corners, minimum height=4em, line width=0.4mm] \tikzstyle{fail} = [rectangle, draw=codeblack, fill=redpic, text=black, text width=5em, text centered, rounded corners, minimum height=4em, line width=0.4mm] % The arrowed connector line between nodes \tikzstyle{line} = [draw, thick, ->, >={Latex}] \tikzstyle{BC} = [decorate, % Brace Calligraphic decoration={calligraphic brace, amplitude=3mm, raise=1mm}, very thick, pen colour={black} ] \tikzstyle{loop} = [arc, draw=codeblack, line width=0.4mm] \tikzstyle{timeline_event}=[align=center, fill=white, inner sep=2pt] \tikzstyle{timeline_timespan} = [rectangle, draw=codeblack, fill=pinkpic, text=black, text centered, rounded corners, line width=0.4mm] \pgfplotsset{compat=1.18} \pgfplotsset{width=\textwidth}