You can also submit new features request and vote for them.
classA --> classB
classD --> classB
gives me -
What I need is -
ClassA --> ClassB
and ClassA --> ClassB
where single classB is not connected to A and B.
Is is not 100% clear what you want to do, but is it this: