Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002391graphvizOutput Generationpublic2013-11-15 12:082013-11-16 12:19
ReporterAbyssoft 
Assigned Toerg 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Platformx64OSWindowsOS Version7SP1
Summary0002391: output generation problems with arrowType:none and edge[style=tapered]
Descriptiongiven edge style is tapered

when color is of type colorList
then tapered renders as if dir is none

when arrowhead or arrowtail are set to none
and dir is default(forward)
----then a block is placed at the head tapered end instead of tapering
and dir is both
----then a block is placed at the head and tail tapered ends instead of tapering
and dir is back
----then a block is placed at the tail tapered end instead of tapering
and dir is none
----then the taper is properly ignored and arrowType:none renders correctly
Steps To Reproducedigraph{
ranksep=1.0;
edge[penwidth=5, style=tapered, label="\E"]
    {
        "edge"->"color=colorList"[color="#FF0000;0.5:#00FF00"];
    }
    {
        edge[arrowhead=none, arrowtail=none, color="#FF0000"]
        dir->"default(forward)"[];
        dir->"both"[dir=both];
        dir->"back"[dir=back];
        dir->"none"[dir=none];
    }[label=""]
}
Additional InformationResolutions:
1) indicate in documentation that edge[style=tapered] does not support colorList
2) indicate in documentation that edge[style=tapered] does not work with arrowType:none
3) make correction to the above either as a bugfix or a feature enhancement.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.35.20131105
Attached Files

- Relationships

-  Notes
User avatar (0000599)
ellson (administrator)
2013-11-15 13:48

The "block" is not an arrowhead, its the last segment of a regular edge drawn in the segment where the arrow is place, the segment that subtends normally to the node. You will notice that the "block" is the same width as the regular edge.

I haven't worked out a way to get rid of it yet... if it is simply eliminated then the tapered edge will be too short.
User avatar (0000600)
ellson (administrator)
2013-11-15 16:49

I've committed a fix that leaves a bit of a gap .. looks ok I guess. Thats 2, & 3.

Item 1 still needs addressing in documentation....
User avatar (0000601)
erg (administrator)
2013-11-16 10:31
edited on: 2013-11-16 10:36

This worked correctly in 2.32. See the documentation for styles, where the figures haven't been update. The bug begins in 2.34. There is a distinct arrowhead drawn as a line. That shouldn't be.

User avatar (0000602)
erg (administrator)
2013-11-16 12:19

The documentation now notes that color lists don't work with tapered edges.
arrowhead=none now works again with tapered edges.
Thanks for the bug report.

- Issue History
Date Modified Username Field Change
2013-11-15 12:08 Abyssoft New Issue
2013-11-15 13:48 ellson Note Added: 0000599
2013-11-15 16:49 ellson Note Added: 0000600
2013-11-16 10:31 erg Note Added: 0000601
2013-11-16 10:35 erg Note Edited: 0000601 View Revisions
2013-11-16 10:36 erg Note Edited: 0000601 View Revisions
2013-11-16 12:19 erg Note Added: 0000602
2013-11-16 12:19 erg Assigned To => erg
2013-11-16 12:19 erg Status new => resolved
2013-11-16 12:19 erg Resolution open => fixed


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