How to draw image like this:
I use MetaUML package for drawing Uml.
Can it be used to draw this image? I want to keep my image styles uniform and don't want to use other drawing package just for one image.
I can draw it like this:
but how can I get rid of the Component icon? And how to make boxes same dimension?
This is the code I use
input metauml;
beginfig(1);
Class.A("Entity")()();
A.info.iAttributeStack.top := 0;
A.info.iAttributeStack.bottom := 0;
A.info.iMethodStack.top := 0;
A.info.iMethodStack.bottom := 0;
Class.B("Render")()();
B.info.iAttributeStack.top := 0;
B.info.iAttributeStack.bottom := 0;
B.info.iMethodStack.top := 0;
B.info.iMethodStack.bottom := 0;
Class.C("Collectable")()();
C.info.iAttributeStack.top := 0;
C.info.iAttributeStack.bottom := 0;
C.info.iMethodStack.top := 0;
C.info.iMethodStack.bottom := 0;
Component.BigC("Spoon")(A, B, C);
leftToRight(10)(A, B, C);
drawObject(BigC);
endfig;
end
edit
I can get rid of component symbol by using Package
instead of Component
, but result looks a lot different than original image