I have the following code snippet:
contract Bar{
}
contract Foo {
Bar bar = new Bar();
}
When I am generating the class diagram from sol2uml I get the following diagram:
I want to have a composition relation between Foo and Bar class.
I am not sure if this code is correct for this relationship or there is some problem with sol2uml.