I've this code in tikz uml.
\documentclass[tikz,14pt,border=10pt]{standalone}
\usepackage{verbatim}
\usepackage{tikz}
\usepackage{tikz-uml}
\usepackage{xcolor}
\usepackage{pgf-umlsd}
\usetikzlibrary{er}
\usetikzlibrary{decorations}
\usetikzlibrary{shapes,arrows}
\usetikzlibrary{shapes.misc}
\usetikzlibrary{positioning,calc}
\tikzstyle{int}=[draw, fill=blue!20, minimum size=3em]
\tikzstyle{init} = [pin edge={to-,thin,black}]
\begin{document}
\begin{tikzpicture}
\umlclass[rectangle split parts=2,x=-4,y=3]{B} {
\umlvirt{+ method() : void}} {
}
\umlclass[rectangle split parts=2,x=-2,y=-3]{C} {
\umlvirt{+ method() : void}} {
}
\umlclass[rectangle split parts=2,x=-2,y=-5]{D}
{
\umlvirt{+ method() : int}}
{
}
\umlclass[rectangle split parts=2,x=-2,y=-9]{E} {
\umlvirt{+ method() : void}
}
{
}
%%%%%%%%%%%%%%%%%
\umldep[geometry=-|-,anchor1=east,anchor2=east]{B}{E}
\umldep[geometry=-|-,anchor1=east,anchor2=east]{B}{D}
\umldep[geometry=-|-,anchor1=east,anchor2=east]{B}{C}
\end{tikzpicture}
\end{document}
And basically I can't manage to let the dashed lines to go around the classes. Something like the following
I thought that specifiying the following would've allowed me to achieve the layout I wanted to but it doesn't work
\umldep[geometry=-|-,anchor1=east,anchor2=east]{B}{E}
\umldep[geometry=-|-,anchor1=east,anchor2=east]{B}{D}
\umldep[geometry=-|-,anchor1=east,anchor2=east]{B}{C}


umlcompofor example and the others. – user8469759 Sep 05 '17 at 13:08\umlrelation. The only difference between them is that different styles are used. I.e.\umldepis basically\umlrelation[tikzuml dependency style],\umlcompois basically\umlrelation[tikzuml composition style], etc. – Torbjørn T. Sep 05 '17 at 13:12arm1andarm2? – user8469759 Sep 06 '17 at 10:03