Add custom label for bracket syntax

0 votes
asked May 6, 2016 in Wanted features by anonymous

First thanks for your work !

I would like to know if it is possible to add custom label with the bracket syntax in Deployment diagram.

I know that this type of diagram seems to be under developpment, but I would like to know if it is possible to handle this syntax :

For Class diagram :


class foo as "bar"
class bar as "foo" {
 String data


This syntax works fine, but not for Deployment diagram, for artifact, node, storage, etc :


node node_foo as "foo"
node node_bar as "node_foo" {
 artifact node_bar_ar1 as "ar1"


The first line is well parsed, but not the second one, resulting in syntax error.



1 Answer

0 votes
answered May 8, 2016 by plantuml (164,520 points)

Thanks for the suggestion...

In last beta

You can use [ and ] for using some custom label.

For example, you can have:

node bar {
 artifact foo1 [
 node node2 [

Is this what you are looking for ?

This has not been highly tested, so feed back welcome!