1

There are two similar questions to mine:

But they both attempt to draw the node using tikz and I want to use a custom image, since I find drawing the shapes too complicated. What I need is to draw a diagram of a network protocol, where some nodes are people, others are (different classes of) network equipment. Assuming I want to use existing figures e.g. from LibreOffice Draw, how can I embed the LibreOffice figures into my tikzpicture?

mushishi
  • 67
  • 4

1 Answers1

3

A little example following John Kormylo suggestion. Icons were obtained from cisco

\documentclass[border=2mm,tikz]{standalone}

\usepackage{tikz} \usetikzlibrary{chains} \begin{document} \begin{tikzpicture}[ start chain=going right, diagram item/.style={ on chain, join } ] \node [ diagram item, label=center:Internet ] {\includegraphics{cloud}};

\node [ diagram item, label=above:Modem/Router ] {\includegraphics{cable_modem}};

\node [ diagram item, label=above:PC ] {\includegraphics{pc}};

\end{tikzpicture} \end{document}

enter image description here

Ignasi
  • 136,588