Physical and overlay topology characterization of a P2P system topology

Edit and compile if you like:
% P2P system topology% Author Fiandrino Claudio 2011 - http://claudiofiandrino.altervista.org/% Description: physical and overlay topology characterization\documentclass{article}\usepackage{tikz}\usepackage[active,tightpage]{preview}\usetikzlibrary{shapes}\PreviewEnvironment{tikzpicture}\setlength\PreviewBorder{7pt}\definecolor{pinegreen}{cmyk}{0.92,0,0.59,0.25}\definecolor{royalblue}{cmyk}{1,0.50,0,0}\definecolor{lavander}{cmyk}{0,0.48,0,0}\definecolor{violet}{cmyk}{0.79,0.88,0,0}\tikzstyle{cblue}=[circle, draw, thin,fill=cyan!20, scale=0.8]\tikzstyle{qgre}=[rectangle, draw, thin,fill=green!20, scale=0.8]\tikzstyle{rpath}=[ultra thick, red, opacity=0.4]\tikzstyle{legend_isps}=[rectangle, rounded corners, thin,fill=gray!20, text=blue, draw]\tikzstyle{legend_overlay}=[rectangle, rounded corners, thin,top color= white,bottom color=green!25,minimum width=2.5cm, minimum height=0.8cm,pinegreen]\tikzstyle{legend_phytop}=[rectangle, rounded corners, thin,top color= white,bottom color=cyan!25,minimum width=2.5cm, minimum height=0.8cm,royalblue]\tikzstyle{legend_general}=[rectangle, rounded corners, thin,top color= white,bottom color=lavander!25,minimum width=2.5cm, minimum height=0.8cm,violet]\begin{document}\begin{tikzpicture}[auto, thick]% Cloud creation\node[cloud, fill=gray!20, cloud puffs=16, cloud puff arc= 100,minimum width=7cm, minimum height=2.5cm, aspect=1] at (0,0) {};% Physical layer nodes\foreach \place/\x in {{(-2.5,0.3)/1}, {(-1.75,-0.55)/2},{(-1.2,0.55)/3},{(-0.75,-0.7)/4}, {(-0.25,0)/5}, {(0.25,0.7)/6}, {(0.75,-0.3)/7},{(1.5,0)/8},{(2.5,0.4)/9}}
Click to download: p2p-topology.tex • p2p-topology.pdf
Open in Overleaf: p2p-topology.tex