graph TD;
subgraph
sq[Square shape]-->ci((Circle shape))
od>Odd shape]---|Two line
edge comment|ro
end
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)
%% Comments after double percent signs
e((Inner / circle))-->f(,.?!+-*ز);
cyr[Cyrillic]-->cyr2((Circle shape Начало));
A[Object foo,bar]-->B(Thing)
classDef green fill:#9f6,stroke:#333,stroke-width:2px;
class green sq;