Job_Talk/Bitcoin/Sections/Diagram.tex

37 lines
1.7 KiB
TeX

\begin{frame}{Market Linkage}
\tikzstyle{market} = [rectangle, rounded corners, text centered,draw=black,fill=orange!30,minimum width=3cm,minimum height=1cm]
\tikzstyle{inputmarket} = [rectangle, rounded corners, text centered,draw=black,fill=green!30,minimum width=3cm,minimum height=1cm]
\tikzstyle{output} = [rectangle, rounded corners, text centered,draw=black,fill=blue!30,minimum width=3cm,minimum height=1cm]
\tikzstyle{both} = [rectangle, text centered,draw=black,fill=red!30,minimum width=3cm,minimum height=1cm]
\tikzstyle{input} = [rectangle, text centered,draw=black,fill=blue!30]
\tikzstyle{arrow} = [thick,dash dot, ->,>=stealth]
\tikzstyle{arrowsolid} = [thick, ->,>=stealth]
\begin{tikzpicture}[node distance=2cm]
\node (Bitcoin)[market] {Bitcoin Mining};
\node (Oil)[market,left of=Bitcoin,xshift=10cm] {Drilling Wells};
\node (BTCP)[inputmarket,above of=Bitcoin] {Bitcoin Price};
\node (OILP)[inputmarket,above of=Oil,xshift=4cm] {Oil Price};
\node (GASP)[inputmarket,above of=Oil,xshift=.5cm] {Gas Price};
\node (BGASP)[inputmarket, left of=GASP,xshift=-2cm] {Bitcoin Price for Gas};
\node (Gas)[output,below of=Oil,xshift=-3.5cm] {Gas};
\node (Oil_out)[output,below of=Oil] {Oil};
\node (BTCOUT)[output,below of=Bitcoin] {Mining Hash};
\node (Elect)[both,below of=Gas] {Electricity Price};
\draw [arrow] (BGASP) -- (Oil);
\draw [arrow] (BTCP) -- (Bitcoin);
\draw [arrow] (OILP) -- (Oil);
\draw [arrow] (GASP) -- (Oil);
\draw [arrow] (Gas) -- (Elect);
\draw [arrow] (Elect) -- (Bitcoin);
\draw [arrow] (Bitcoin) -- (BGASP);
\draw [arrowsolid] (Bitcoin) -- (BTCOUT);
\draw [arrowsolid] (Oil) -- (Oil_out);
\draw [arrowsolid] (Oil) -- (Gas);
\end{tikzpicture}
\end{frame}