Closed j-q-arnold closed 4 years ago
generates correctly on your example now. the issue was that i wasn't using a fully scoped name for drawing the arrows so it was getting confused!
I tried the latest reslang. The node names are fixed, but the spurious "}
are still present. See the last bullet item in the original issue description.
Reopening this issue.
ah, ok, having a look
please try again, i've found a spurious }" string in the code and removed it
Better now. Thanks.
I have reslang that generates diagrams. One diagram omitted actions from a subresource. Investigating that, I believe the generated
.dot
file is defective. I'll attach the files.I tried a rules file with a larger
maxResourceDepth
, but that didn't change anything. So I started looking at the.dot
file, and I think it is the problem. Issues I noticed:"SegmentDeliveryConfiguration::DeliveryConfiguration::Enable"
instead of plain"Enable"
. The internal labels can be unadorned, but the node names need a fully scoped name to disambiguate..dot
file appears syntactically incorrect. I don't see an error message from the web renderer, but it has multiple spurious"}
. See lines 9, 12, 16, 20, 24, 28, 32, 36, 40 ofsegmentDelivery.dot
.I had to rename the files to make them acceptable attachments. Remove the
.txt
suffixes. Thesegment-delivery.reslang
is the top-level file. SeesegmentDelivery-corrected.dot
for a working output file.segment-delivery.reslang.txt segmentDelivery.dot.txt types.reslang.txt diagrams.reslang.txt segmentDelivery-corrected.dot.txt