I need to provide structures like a tree, similar to the flowcharts.
Surprisingly, I can not find a suitable device (or I am doing wrong).
First of all, I saw SVG. But I could not find any way to draw a bounding box around the text without using ECMAScript: I tried to do a simple thing which is surrounded by a box of two texts and connected to a line, centered by the sides (oo Something like, where there is a box with o text). And when you use ECMAScript, you heavily limit the equipment that can be used for SVG rendering. (For example, you can not change such SVG with PNG or PDF to Image Magic).
Second, I tried, but when you start tampering the text (you need to install and configure the system) it is quite heavy.
I find a tool in which you can:
- Function of basic vector graphics like drawing:
- Programming Access to font properties: Baseline, Ascent, Lineage, Height
- Height / width computing of a string (or bounding box) Lines, shapes etc.
I do not think this is the hard stuff. For example, in Java2D, for example all such functionality is present, of course, I can use it as a last resort and get raster graphics, but is it easy to use it?
Have you seen GraphViz ()? It does not really match your needs because you leave some control and instead of layout and rendering the device based on a graph or tree description, but I find the easiest way to generate it like a tree Has been output.
Comments
Post a Comment