Translate Class Diagram to Braille

0 votes
asked Jul 15, 2016 in Closed question / help by robersonjfa (120 points)
Hi,

I have a tutorial that illustrates the creation of class diagrams using UML. I need to print the diagrams of the examples in braille. I can convert the diagrams generated by PlantUML in braille?

Best,

1 Answer

0 votes
answered Jul 18, 2016 by plantuml (294,960 points)
Hi,

Are you talking about the PNG image generated by PlantUML ?
commented Jul 18, 2016 by anonymous
Hi,

Can be generated via PNG image, or in any other output format supported by PlantUML.
We have a student with visual impairment and need it to be able to build small diagrams and also reads them.
The idea is to print the diagrams in braille format.

Best,
commented Jul 19, 2016 by plantuml (294,960 points)
Ok.
Could you precise the meaning of "to print the diagrams in braille format" ?
Do you wish us to use https://en.wikipedia.org/wiki/Braille_Patterns ?
Or https://en.wikipedia.org/wiki/English_Braille ?

Let's take a simple & concrete example:

@startuml
class Foo
class Foo extends Bar
@enduml

This generates a PNG image as follow http://www.plantuml.com/plantuml/png/Iyv9B2vMSClFvqg6iHHIAqfIyrAA5PmIYm00
Could you post here a sample of what you are expecting with this simple example ?

Thanks!
commented Jul 25, 2016 by anonymous
Hi,

I need something like this:

from text:
@startuml
class Person
class Client extends Person
@enduml

to png:

https://postimg.org/image/mvnmgr4qp/

to braille:

https://postimg.org/image/s8cguvsn5/

Best.
commented Jul 25, 2016 by plantuml (294,960 points)
Ok, thanks. That's more clear.
Yes, I think we will be able to provide something.
However, this is a new feature, so we need some time (2 months?) to release it, so please be patient :-)

We'll post a message here when we will have a first working version.
BTW, did you use some special software to do your example image ( https://postimg.org/image/s8cguvsn5/ ) ?
commented Jul 25, 2016 by anonymous
Hi,

To build the example image, in braille, i used this software: PictureBraille - http://www.pentronics.com.au/index_files/PictureBraille.htm.
commented Jul 25, 2016 by anonymous
We are grateful that you have accepted the challenge to add this feature to PlantUML.
I am a Java Developer, if i can hel in some way please call me.

Best.
commented Jul 26, 2016 by plantuml (294,960 points)
Thanks, Java skill may be useful in some future, when the code would be more consistent.

Right now, we have a first alpha version.
You can download it here https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

We have added some -braille flag that generates PNG image (using braille) [Next version may allow EPS or SVG generation, if needed].

java -jar plantuml.jar -tbraille test.txt

Many things are not working yet. However, we are interested with feedback about:
- The general design of the image (size, grid lines and colors...)
- Conversion to braille text (We have little knowledge about it and we have used information on https://en.wikipedia.org/wiki/English_Braille )

As you will see, the drawing of the schema is not complete yet. Once again, we would like to focus on text first.

Could you test it with some diagrams you'd like to use ?
Eventually, if you could send us (by mail for example) your diagrams, it would help to test with real world example.

Thanks!
...