How to put box into box

0 votes
asked May 17, 2015 in To be sorted by anonymous

How to put box into box with color image. For eg. the following image (I need to know the code for this image).

 

2 Answers

0 votes
answered May 17, 2015 by plantuml (298,440 points)
Hello,

I am not sure to understand your question.

You've tried to provide an image, but this has not worked. Maybe you can provide an URL of the image you are trying to show us ?
commented May 17, 2015 by anonymous
edited May 17, 2015
Thanks for answering my question.Following is the url for the image hope u can help me now. Thanks again.

http://postimg.org/image/992xqrtal/
commented May 17, 2015 by plantuml (298,440 points)
Ok, we will study your image and try to give you a solution.
0 votes
answered May 18, 2015 by plantuml (298,440 points)

This is not perfect, but you can have:

 

@startuml
rectangle #lightblue {
rectangle JSP
rectangle JQuery
}

rectangle Controller #pink {
rectangle "Spring Controller" #yellow
rectangle "Session Management" #yellow
}

rectangle "Application Layer" #pink {
rectangle "Spring Business Component" #yellow
rectangle "Spring Context" #yellow
}
@enduml

 

commented May 19, 2015 by anonymous
Thanks a lot guys. But I also wanted to know how can I put the boxes one above the other and not side by side as you can see in the image itself.

Hope you can find a solution for this also and thanks again.
commented May 19, 2015 by plantuml (298,440 points)
This begins to be tricky, but you can use hidden links:

http://www.plantuml.com/plantuml/png/TP112i8m44NtEKL8rrtKNg3LdIWeNOgBs0unE9s494MBU7VJBZG5tNuUx_-PoWVfmj0ZSz06IGg1PwZLDLnm0FvCucrpuDBpkaYpum1kP2-MP1j3mHb4S3opccuBYMYiqwGIICpI5Sz6G3Jt1GlUQqDyBqagw862-62BIb5RYxgLOQ9tSfoi_xlNWzSKrN54RmtDscb3-NF3ToyyblrrmVFJLNSTq3cF9x1uHHgKh0Bguc_V


@startuml
rectangle #lightblue {
rectangle JSP as A1
rectangle JQuery
}

rectangle Controller #pink {
rectangle "Spring Controller" as A2 #yellow
rectangle "Session Management" #yellow
}

rectangle "Application Layer" #pink {
rectangle "Spring Business Component" as A3 #yellow
rectangle "Spring Context" #yellow
}

A1 -[hidden]- A2
A2 -[hidden]- A3
@enduml
commented May 19, 2015 by anonymous
thanks a ton guys. U r doing fabulous job.
...