closed EBNF Special border enhancement

0 votes
asked Nov 30, 2022 in Wanted features by Todd Musheno (2,680 points)
closed Dec 5, 2022 by Todd Musheno

EBNF special borders are not very visually distinct from literals:

https://www.plantuml.com/plantuml/uml/SoWkIImgIKtAI-DAoyzNi5LGoiaiIIrAp55Ig56mBov8JSvCpB47iejASrAjkHnIyr90YW40

I think if we use the dashed version of the UStroke for one but not both rectangles... new UStroke(1.0,1.0,1.0)??, we would have something easy to understand at a glance... the numbers might need tweaked a bit... open to anything that makes the types of the components in the above diagram distinct from each other "from a distance".

https://github.com/plantuml/plantuml/blob/48ae51e8c3ee3cd5713834350f682b086db208d8/src/net/sourceforge/plantuml/ebnf/ETileBox.java#L160

closed with the note: Good enough, would have preferred solid & current, but whatever

1 Answer

0 votes
answered Nov 30, 2022 by plantuml (295,000 points)
reshown Nov 30, 2022 by plantuml

Ok, we've slightly change it in last online version.

Sounds better?

commented Nov 30, 2022 by Todd Musheno (2,680 points)
reshown Nov 30, 2022 by plantuml
YES... play with the numbers to make special and litteral look differant... I think a space of 5 maybe?

The dots are there... just hard to see
commented Dec 2, 2022 by Todd Musheno (2,680 points)
OMG I know what it needs to be... use the same settings for other dotted lines (for example class relations).

Here is what the lines should look like:

https://www.plantuml.com/plantuml/uml/SoWkIImgAStDuNBEIImkDZ1NqDDJW30je4AM2hgw42530ow7rBmKe6e0
commented Dec 4, 2022 by plantuml (295,000 points)
commented Dec 5, 2022 by Todd Musheno (2,680 points)
Good enough for now...

I think the double line with 1 solid, and that would be better... closing this one though.
...