mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-25 14:27:33 +00:00
Merge pull request #173 from qwazer/nwdiag
Add ability to use any shape from USymbol in nwdiag elements.
This commit is contained in:
commit
10a4c323b9
@ -109,11 +109,9 @@ public class DiagElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final void setShape(String shapeName) {
|
public final void setShape(String shapeName) {
|
||||||
if ("database".equalsIgnoreCase(shapeName)) {
|
USymbol shapeFromString = USymbol.getFromString(shapeName);
|
||||||
this.shape = USymbol.DATABASE;
|
if (shapeFromString!=null){
|
||||||
}
|
this.shape = shapeFromString;
|
||||||
if ("node".equalsIgnoreCase(shapeName)) {
|
|
||||||
this.shape = USymbol.NODE;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user