I suppose this is a restrictions in GMF tooling that children can only be
defined by a containment reference.
However, you could tweak the generated code and override
#getModelChildren() method of editpart class of A and add there B
non-containment reference.