Skip to content

Commit

Permalink
examples pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
antongiacomo committed Nov 17, 2023
1 parent f1aacf3 commit 0d6e0f9
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -366,4 +366,5 @@ main.pdf
.venv/
venv
# End of https://www.toptal.com/developers/gitignore/api/latex,macos,visualstudiocode
*/*.csv
*/*.csv
__pycache__/
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 6 additions & 0 deletions test.tikz
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

\begin{tikzpicture}
\begin{axis}[grid]

\end{axis}
\end{tikzpicture}
Binary file added text.pdf
Binary file not shown.
66 changes: 66 additions & 0 deletions text.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
\documentclass[tikz]{standalone}
\begin{document}
\begin{figure}[ht!]
\centering

\tikzset{
do path picture/.style={%
path picture={%
\pgfpointdiff{\pgfpointanchor{path picture bounding box}{south west}}%
{\pgfpointanchor{path picture bounding box}{north east}}%
\pgfgetlastxy\x\y%
\tikzset{x=\x/2,y=\y/2}%
#1
}
},
cross/.style={do path picture={
\draw [line cap=round] (-1,-1) -- (1,1) (-1,1) -- (1,-1);
}},
plus/.style={do path picture={
\draw [line cap=round] (-3/4,0) -- (3/4,0) (0,-3/4) -- (0,3/4);
}}
}


\begin{tikzpicture}[scale=0.9,y=-1cm]
% Nodes

\node[draw, circle ] (node1) at (0,0) {$\vi{r}$};


\node[draw, circle, plus , below = 1em, minimum size=1.5em] (node2) at (node1.south) {};

\node[draw, circle,below =1em] (node3) at (node2.south) {$\vi{2}$};
\node[draw, circle,left=1em] (node5) at (node3.west) {$\vi{1}$};
\node[draw, circle,right=1em] (node4) at (node3.east) {$\vi{3}$};

\node[draw, circle,below=1em] (merge) at (node3.south) {$M$};

\node[draw, circle, plus , minimum size=1.5em,below=1em] (node7) at (merge.south) {};
\node[draw, circle,below =1em] () at (node7.south) {$\vi{2}$};


\node[right] at (node1.east) { $$};
\node[right] at (node2.east) { $parallel$};
% Connection
\draw[->] (node1) -- (node2);
\draw[->] (node2) -- (node3);
\draw[->] (node2) -- (node4);
\draw[->] (node2) -- (node5);
\draw[->] (node3) -- (node6);
\draw[->] (node4) -- (node6);
\draw[->] (node5) -- (node6);
\draw[->] (node6) -- (node7);
\end{tikzpicture}
\caption{Reference Scenario}
\label{fig:reference_scenario}
\end{figure}
\end{standalone}
\end{document}

0 comments on commit 0d6e0f9

Please sign in to comment.