we are facing the problem when we have the hyphen(-) in the source to generate the dataflow diagram

0 votes
asked Jul 3, 2017 in Closed question / help by brahmaiah (330 points)

Hi All,

Thanks for the supporting i got the answers for so many questions from you..

@startuml

skinparam roundCorner 20

left to right direction

hide circle

hide empty members

ALP09476_CONSTANT_VALUE-->WS-TERM-KEY

DATE-AND-TIME-ELEMENTS-->WS-CURRENT-DATE

SPACES-->WS-TERM-KEY

ALP09476_CONSTANT_VALUE-->WS-REPORT-FILE-REC

DUMP-CODE-->HELPX

CMEXT-TERM-RECORD-->WS-OUT-CHANGE-REC

@enduml

when we are using the above code i am getting the below error, because of hyphen(-) in the source.

PlantUML diagram

please help me to resolve this issue..

Regards,

Brahmaiah.I

9677199268.

1 Answer

0 votes
answered Jul 3, 2017 by Serge Wenger Work (11,040 points)
selected Jul 4, 2017 by brahmaiah
 
Best answer

A lot of programming languages don't allow hypeh in identifiers and so on.

In your case you can do this:

@startuml
skinparam roundCorner 20
left to right direction
hide circle
hide empty members
class "WS-TERM-KEY" as WS_TERM_KEY
ALP09476_CONSTANT_VALUE-->WS_TERM_KEY
@enduml
...