Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002047graphvizOtherpublic2011-02-10 08:352011-04-28 04:03
ReporterYuri Khan 
Assigned Togviz 
StatusacknowledgedResolutionno change required 
PlatformOS*-*-OS Version
Summary0002047: HTML labels should accept floating-point values for point-based lengths

The HTML labels schema has several attributes that are interpreted as
lengths expressed in points (td/@border, table/@cellborder,
table/@cellpadding, table/@cellspacing, table/@height, td/@height,
font/@point-size, table/@width, td/@width). All of these accept integer
values only.

When printing out a graph using PostScript, a whole point for node
borders is way too thick. It should be possible to specify e.g. 0.25
and have reasonably thin lines.
Steps To Reproduce

graph {
    test_node [shape = none, label = <<table border="0" cellspacing="0" cellborder="0.25">
        <tr><td align="center">ClassName</td></tr>
        <tr><td>-someAttribute: SomeType</td></tr>
Additional Information

Expected: The class borders and compartment separators are drawn in
0.25pt lines.

Observed: No borders are drawn.
TagsNo tags attached.
Workaround: Specify 1 point width, then feed the resulting .ps file
through sed 's/^1 setlinewidth/0.25 setlinewidth/g'. However, this will
replace all 1pt lines with 0.25pt.
VERSION     2.26.3
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user1

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker