Clean some things, better fromeffectloop figure

main
Adrien Burgun 2 years ago
parent bb117ff271
commit fb09786b82

@ -0,0 +1 @@
<mxfile host="app.diagrams.net" modified="2023-02-08T17:26:09.203Z" agent="5.0 (X11; Ubuntu)" etag="x8lpwvwBczrJN4cz2xt6" version="20.8.18" type="device"><diagram name="Page-1" id="z6_p5RlquyWchxg1O-nx">7VrLcpswFP0aL+MBCTBexo7dLtppO55O21VHgcujlS0q5Fe/vpIRxmASO/GDhGaToMsVujr3HL2sDh5OV+84SaKPzAfaQYa/6uC7DkKu2Zd/lWGdGSzbyAwhj/3MZBaGSfwXtDF3m8c+pCVHwRgVcVI2emw2A0+UbIRztiy7BYyWW01ICHuGiUfovvVb7ItIdyvvhbK/hziM8pZNQ7+ZktxZG9KI+Gy5Y8KjDh5yxkT2NF0NgSrsclyyeuMH3m4D4zATx1TALPopRuRLmo4jELCwvk5vb/RXFoTOdYc7yKHye4OAyc/KvBFBbtTzTcq9jYfzZ65CHkRCqBzcqhbRWLmk3ZCxkAJJ4rTrsak0e6l0GQdkGlNFgE8JzDpoMCGztPiQSgvxoPTxzNGoOjqh+j9PYRQEKts6Vt1+/l7jLdZ5Ejmbz3xQOBjy9TKKBUySrMmlZO2mM1MqS6bqeEzpkFHGN3WxT8ANZM8HqeDsN+y8cTwX7gP5xo+5DCZmM2kHkm7AYTz+K0MiVDeq4tupaxhG30XbWBfABaweTKy5pYuUGbApCL6WLsuCkJYmWbTLxZx5RGsg3FYtaCIfNFOewBpcw5ozQg6mb0OvDvK+08PEORG2VRkyPTDZWekApvhSkFothNRqGFO7hZi6DWPqHJowvC0MxbCN+6ZpG739kTwFMSReBNcYyAPXA692IL93bbUsOS1dOj9mjvxOgtxrJgg5e6iBL5c0usi4iFjIZoSOCuugjGvh84GxRKP5C4RY6/UZmQtWxnoP097IRUbNxKeZkGOtQnscadkTNud6eVDf5V7mJwgPQTwGTa8+dRwoEfGiHEhdYnTVzyzeUD3niFuWKDIquc0C07Uq6d2G8fyM9y47zAVBgOp14zv3jn2mYa6CYX9fRXXD3MVWOFvuvRAVSRT5+rt22xR+qGa6dl68W+lms9Jal86oMvdYleHLqMwuMwQfqbJbzsl6xy1RDunx7TiVXdXBsOwK+bIAzqp4t4WKtxtWfH7gcF3FP1fXD48UZ1R8/0jFO+cQ/JN1alVn3cd1WnE3rSvotN9CnZpN67TuyOq17+pMp+FtnYlaiCoymka1jQdljR/roH4TM3WjO1zTOXIqPnmLexrf606HXvuE1/jKFLn/H9+vdqRzGt/bePTS+AoP1c2ab2fMOxmqOR277hnzPu+73e7+KEVpnKTwQmlvOhXeu8fx3roUqriNOxvc9A+ruI07G9z0fhG3cWdjNb1fxBe+BdDIesJqej2B6+4BvF1yeiWXnLYnZMex6IKXng5efXij0YunEUaXo5EsFrc5s58QiiuxePQP</diagram></mxfile>

@ -10,4 +10,9 @@ digraph {
cache -> getCategory [dir=back,style=dashed]
fetchCategory -> getCategory [dir=back,len=3]
}
useEffect [style=filled,fillcolor="#DAE8FC"]
getCategory [style=filled,fillcolor="#E1D5E7"]
cache [style=filled,fillcolor="#F8CECC"]
fetchCategory [style=filled,fillcolor="#FFF2CC"]
}

@ -13,7 +13,10 @@ function useCategoryCache() {
if (cache[id]) return cache[id];
return fetchCategory(id).then((movie) => {
cache[id] = movie;
setCache((cache) => ({
...cache,
[id]: movie
}));
return movie;
});
}, [cache]);
@ -42,11 +45,15 @@ const Page = (props) => {
\caption{Code susceptible à un bug causant les requêtes à être envoyées plusieures fois}
\end{subfigure}
\begin{subfigure}[t]{\textwidth}
\centering
\includegraphics[width=0.5\textwidth]{fromeffectloop}
\begin{subfigure}[t]{0.45\textwidth}
\includegraphics[width=\textwidth]{fromeffectloop}
\caption{Les flèches correspondent à un appel, les points à une dépendance}
\end{subfigure}
\hfill
\begin{subfigure}[t]{0.45\textwidth}
\includegraphics[width=0.3\textwidth]{fromeffectloop2}
\caption{TODO}
\end{subfigure}
\caption{Version simplifiée du bug causant plusieures requêtes à être executées}
\label{fromeffectloop}
\end{figure}

Binary file not shown.

@ -17,6 +17,7 @@
\usepackage{wrapfig}
\usepackage{svg}
\usepackage{ragged2e}
\usepackage[nottoc,numbib]{tocbibind}
\usepackage{hyperref}
\hypersetup{
@ -840,8 +841,6 @@ Faire ce travail m'a permis d'avoir une compréhension plus profonde sur différ
\makeutbmbackcover{}
\newpage
\section{Annexes}
\begingroup
\raggedright
\bibliographystyle{plain}
@ -849,6 +848,7 @@ Faire ce travail m'a permis d'avoir une compréhension plus profonde sur différ
\endgroup
\newpage
\section{Annexes}
\subsection{Listings de code}

Loading…
Cancel
Save