| 1 |
Todo for Graph-Easy-As_svg |
| 2 |
========================== |
| 3 |
|
| 4 |
Output bugs: |
| 5 |
|
| 6 |
* a graph border of double is rendered as single |
| 7 |
* Anon groups should not have a border |
| 8 |
* Borders on nodes/graph are placed on the path center. Instead they should |
| 9 |
be inside the shape, aka moved BORDER-WIDTH/2 to the inside. |
| 10 |
* Rotated nodes: |
| 11 |
+ Node texts are moved wrongly on rotated nodes (their new |
| 12 |
center should rotate along with the shape) |
| 13 |
+ do not increase the graph size, so corners might get cut off |
| 14 |
+ the label text is not rotated with the rest of the shape |
| 15 |
* implement border- and edge-style: wave |
| 16 |
* _text_length() could be more accurate |
| 17 |
* edges with style "double" have wrong corner pieces |
| 18 |
* wide and broad self-loops are too small and the line must be moved |
| 19 |
* support different edge starting point styles ala: |
| 20 |
|
| 21 |
-----> |-----> o-----> +-----> *-----> >>-----> |
| 22 |
|
| 23 |
Shorter output: |
| 24 |
|
| 25 |
* instead of rendering individual edge cells, we should create |
| 26 |
one path, this would allow better rendering of non-solid |
| 27 |
edges, like dashed or dotted ones |
| 28 |
* put the stroke-width and stroke on the <g class="edge"> instead on |
| 29 |
each <line> |
| 30 |
* merge all group cells together to create a minimum number of rectangles |
| 31 |
to render |
| 32 |
* font-family and font-size are output needless even when they are the |
| 33 |
default values |
| 34 |
|
| 35 |
Browser-specific woes: |
| 36 |
|
| 37 |
* Firefox 1.5 gets tspan with 'x="..." dy="1em"' wrong |
| 38 |
* Firefox 1.5 seems to ignore text-decoration on <text> |
| 39 |
* Batik 1.5.1 has problems with 'font-size="12px"' on <text> |