Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 6
mineure typo

28 Oct '19, 01:55

Pathe's gravatar image

Pathe
7.6k53210254

Le mot clé `on grid` créera des flèches symétriques et `node distance=1 and 2` pour augmenter leur distance distance. \documentclass[tikz,10pt]{standalone} \usetikzlibrary{positioning} \tikzset{ abstract/.style={rectangle,draw=none,fill=yellow!30,on grid}, myarrow/.style={->,>=stealth} } \begin{document} \begin{tikzpicture}[node distance=1 and 2] \node (DS) [abstract]{lalala}; \node (FONDS) [abstract,below left=of DS]{lalalalalalalalalalalalalalalalala}; \node (LDS) [abstract,below right=of DS]{la}; \draw[myarrow,red] (FONDS.north) -- ++(0,0.3) -| ([xshift=-.2cm]DS.south); \draw[myarrow,blue] (LDS.north) -- ++(0,0.3) -| ([xshift=.2cm]DS.south); \end{tikzpicture} \begin{tikzpicture}[node distance=1 and 3] \node (DS) [abstract]{lalala}; \node (FONDS) [abstract,below left=of DS]{lalalalalalalalalalalalalalalalala}; \node (LDS) [abstract,below right=of DS]{la}; \draw[myarrow,red] (FONDS.north) -- ++(0,0.3) -| ([xshift=-.2cm]DS.south); \draw[myarrow,blue] (LDS.north) -- ++(0,0.3) -| ([xshift=.2cm]DS.south); \end{tikzpicture} \end{document} ![alt text][1] ![alt text][2] [1]: https://texnique.fr/osqa/upfiles/document_FNTvUcK.png [2]: https://texnique.fr/osqa/upfiles/document_XYhkKZx.png
cliquez ici pour masquer/afficher la révision 5

27 Oct '19, 19:40

samcarter's gravatar image

samcarter
8.7k2817

Le mot clé `on grid` créera des flèches symétriques et `node distance=1 and 2` pour augmenter leur distance \documentclass[tikz,10pt]{standalone} \usetikzlibrary{positioning} \tikzset{ abstract/.style={rectangle,draw=none,fill=yellow!30,on grid}, myarrow/.style={->,>=stealth} } \begin{document} \begin{tikzpicture}[node distance=1 and 2] \node (DS) [abstract]{lalala}; \node (FONDS) [abstract,below left=of DS]{lalalalalalalalalalalalalalalalala}; \node (LDS) [abstract,below right=of DS]{la}; \draw[myarrow,red] (FONDS.north) -- ++(0,0.3) -| ([xshift=-.2cm]DS.south); \draw[myarrow,blue] (LDS.north) -- ++(0,0.3) -| ([xshift=.2cm]DS.south); \end{tikzpicture} \begin{tikzpicture}[node distance=1 and 3] \node (DS) [abstract]{lalala}; \node (FONDS) [abstract,below left=of DS]{lalalalalalalalalalalalalalalalala}; \node (LDS) [abstract,below right=of DS]{la}; \draw[myarrow,red] (FONDS.north) -- ++(0,0.3) -| ([xshift=-.2cm]DS.south); \draw[myarrow,blue] (LDS.north) -- ++(0,0.3) -| ([xshift=.2cm]DS.south); \end{tikzpicture} \end{document} ![alt text][1] ![alt text][2] [1]: https://texnique.fr/osqa/upfiles/document_FNTvUcK.pnghttps://texnique.fr/osqa/upfiles/document_FNTvUcK.png [2]: https://texnique.fr/osqa/upfiles/document_XYhkKZx.png
cliquez ici pour masquer/afficher la révision 4

27 Oct '19, 19:36

samcarter's gravatar image

samcarter
8.7k2817

cliquez ici pour masquer/afficher la révision 3

27 Oct '19, 19:35

samcarter's gravatar image

samcarter
8.7k2817

cliquez ici pour masquer/afficher la révision 2

27 Oct '19, 19:31

samcarter's gravatar image

samcarter
8.7k2817

cliquez ici pour masquer/afficher la révision 1

27 Oct '19, 19:30

samcarter's gravatar image

samcarter
8.7k2817

C'est votre première visite ici ? Consultez la FAQ !

×