Login
Remember
Register
PlantUML Q&A
*NEW* Discord server
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Folder tree does not show folder with duplicate name
+1
vote
asked
Aug 1, 2013
in
Bug
by
anonymous
This construct only shows folder c within folder a, whereas I would also expect to see it in folder b:
folder "a" {
folder "c" {
}
}
folder "b" {
folder "c" {
}
}
Also this construct does not get rendered:
folder "a" {
folder "a" {
}
}
folder
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail]
(--------)
To avoid this verification in future, please
log in
or
register
.
1 Answer
0
votes
answered
Feb 28, 2018
by
Anthony-Gaudino
(
5,720
points)
That's because you can't use the same name for multiple nodes.
You should use an alias on those cases.
commented
Mar 30, 2018
by
ashatilo
(
180
points)
Guys things are not working properly - please have a look onto Service folder.
It should have folders with label private and public but has labels as prv2 and pub2.
The first case works but latter does not.
@startuml
folder "/svn/Software" as SvnRoot {
folder Source as src1 {
folder Driver {
rectangle "Driver code"
folder include as inc1 {
rectangle "C++ headers"
folder public as pub1 {
rectangle "Public interfaces"
}
folder private as prv1 {
rectangle "Private to implementation"
}
}
folder src {
rectangle "C++ sources"
}
}
folder Service {
rectangle "Service code"
folder include as inc2 {
rectangle "C++ headers"
folder public as pub2 {
rectangle "Public interfaces"
}
folder private as prv2 {
rectangle "Private to implementation"
}
}
folder src {
rectangle "C++ sources"
}
}
}
}
@enduml
http://www.plantuml.com/plantuml/png/lP1HIiGm48QVDwS8UTs7nPvWGGyWzWHnEjM1T58ca_WWUtVRc82B2uA8q9Gmyty_v3idzQ9v2SRCCKmerfrIuTCOPttpWixwPCV2Jp6gVJU75XfZ5i1zbmJkzaNVF0WLb3ev289wVWbeNHj3dD1jgvucXf2dMaJSYgwu--FHlgBVigbo7LppSo3OkUtMkQ_WusU0M55c3zZmorM9KF6AjKNApPQMq6XfMGCkoEgL8lUszkkDIU3s6r8Lbbm3wkakKGe1VbFMvZyu6txfRFWJPyF_Ejk-Yp5dv2aluGC0
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
folder BorderStyle doesn't work as package does, and no mention of it on skinparam reference
Folder size change with alias size + package identifier visible
alias of folder is drawn in top part ( 8031beta5)
Add option to hide alias on folder top part
Container Alias is treated differently based on if it has contents
All categories
Question / help
(1,457)
Bug
(1,636)
Wanted features
(1,419)
Closed question / help
(88)
Closed bug
(53)
Closed feature request
(130)
Won't fix
(3)
Won't implement
(12)
Can't help
(9)
To be deleted
(10)
To be sorted
(429)
...