Hello E.,
Using packages instead of namespaces doesn't help.
No, using packages can help, but we lost the power of namespace...
As workaround, we can combine 'package' and 'together' (for only one element!) as it:
package ns1 {
together {
class A
}
namespace ns2 {
class B
}
}
A -left- ns2.B
Then we observe the expected result:
Expected result: class B should be left from A, just like D is left from C.
[Click to the image to see on PlantUML server]
See also 'together':
If that can help,
Regards,
Th.