Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

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

0 votes
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.
asked Jul 3 by brahmaiah (320 points)

1 Answer

0 votes
 
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
answered Jul 3 by Serge Wenger Work (4,770 points)
selected Jul 4 by brahmaiah
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...