sequence TB apa:Apanhoppar bapa:Server chimp:Chimpansenhoppar
graph TB;A(Astrid
b)-->B[Irene]; A-->C[Christer]; B-->D[Micke]; B-->E[Maria]; E-->F[Hjalte]; E-->G[Embla]; E-->J[Vidar]; E-->H[Bjarke]; E-->I[Ingvild]; click A apa;
graph TD; eag[Läsa bok 2]-->b; b{Fundera}---|Klocka|c(Vidar); b-->|Lego text|d(Bjarke går); e(orphan); style eag red;

Shapes

graph TD; sq[Square shape]-->ci((Circle shape)); od>Odd shape]---|Two line
edge comment|ro; od2>Really long text in an Odd shape]-->od3>Really long text with linebreak
in an Odd shape]; di{Diamond is
broken}-->ro(Rounded
square
shape); di-->ro2(Rounded square shape); e((Inner circle)); style e red;