Translate Class Diagram to Braille

0 votes
asked Jul 15, 2016 in To be sorted by robersonjfa (120 points)


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?

1 Answer

0 votes
answered Jul 18, 2016 by plantuml (144,190 points)

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

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.

commented Jul 19, 2016 by plantuml (144,190 points)
Could you precise the meaning of "to print the diagrams in braille format" ?
Do you wish us to use ?
Or ?

Let's take a simple & concrete example:

class Foo
class Foo extends Bar

This generates a PNG image as follow
Could you post here a sample of what you are expecting with this simple example ?

commented Jul 25, 2016 by anonymous

I need something like this:

from text:
class Person
class Client extends Person

to png:

to braille:

commented Jul 25, 2016 by plantuml (144,190 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 ( ) ?
commented Jul 25, 2016 by anonymous

To build the example image, in braille, i used this software: PictureBraille -
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.

commented Jul 26, 2016 by plantuml (144,190 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

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 )

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.