Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002345graphvizOutput Generationpublic2013-08-30 14:062013-09-04 12:17
ReporterAbyssoft 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
Platformx64OSWindowsOS Version7sp1
Summary0002345: When arrowType is list and contains none all subsequent arrowTypes are dropped
DescriptionGiven a complex arrowType for arrowHead or arrowTail
When any member in the complex arrowType is set as none
and any subsequent is not none
ERROR STATE:
Then arrowType rendering encountered is a single empty gap followed by the remainder of the edge line.

CORRECT STATE:
Then for each none present an un-arrowed edge line for the arrowsize length is drawn followed by the appropriate arrowtype(s) and lastly the remainder of the edgeline.
Steps To Reproducedigraph {

node[regular=true width=1 shape=box];
ranksep=1.5;
nodesep=0.66;

/* RENDERS CORRECTLY */
normal->b[arrowhead="normal"]
normal->b[arrowhead="normalnormal"]
normal->b[arrowhead="normalnormalnormal"]
normal->b[arrowhead="normalnormalnormalnormal"]

/* RENDERS CORRECTLY */
none->c[arrowhead="none"]
none->c[arrowhead="nonenone"]
none->c[arrowhead="nonenonenone"]
none->c[arrowhead="nonenonenonenone"]

/* RENDERS CORRECTLY */
noneAtEnd->f[arrowhead="normalnone"]
noneAtEnd->f[arrowhead="normalnormalnone"]
noneAtEnd->f[arrowhead="normalnormalnormalnone"]

/* RENDERS INCORRECTLY */
noneBeforeType->d[arrowhead="nonenormal"]
noneBeforeType->d[arrowhead="nonenonenormal"]
noneBeforeType->d[arrowhead="nonenonenonenormal"]

/* RENDERS INCORRECTLY */
noneInMiddle->e[arrowhead="normalnonenormal"]
noneInMiddle->e[arrowhead="normalnonenonenormal"]
noneInMiddle->e[arrowhead="normalnormalnonenormal"]

}
Additional InformationIn addition to dot,
Occurs in the following engines
circo* (if more than one of the above groups is in circo it crashes)
fdp
neato
osage
sfdp
twopi

NOT TESTED
nop* (due to needing positioning)
patchwork* (due to crashes on almost all ops on digraph and graph)
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENTarrow 'none' now rendered as a featureless edge segment.
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.33
Attached Filespng file icon arrowType_IncorrectRendering_when_has_none.png [^] (29,292 bytes) 2013-08-30 14:06

- Relationships

-  Notes
User avatar (0000456)
Abyssoft (reporter)
2013-08-30 14:11

2.32 Also has this issue.

2.33 build for 20130821
User avatar (0000457)
erg (administrator)
2013-08-30 15:50

The arrow head problem has been fixed. In addition, I also fixed the problem with patchwork crashing.

I could not get circo to crash on your example. Are you saying that running circo on your input graph causes a crash?
User avatar (0000459)
Abyssoft (reporter)
2013-08-30 16:36

yes circo crashes for me on listed input.
User avatar (0000460)
Abyssoft (reporter)
2013-08-30 16:38

Error Log from Crash from event viewer
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> [^]
- <System>
  <Provider Name="Application Error" />
  <EventID Qualifiers="0">1000</EventID>
  <Level>2</Level>
  <Task>100</Task>
  <Keywords>0x80000000000000</Keywords>
  <TimeCreated SystemTime="2013-08-30T20:35:20.000000000Z" />
  <EventRecordID>37928</EventRecordID>
  <Channel>Application</Channel>
  <Computer>GW012013.insightsoftware.lan</Computer>
  <Security />
  </System>
- <EventData>
  <Data>gvedit.exe</Data>
  <Data>0.0.0.0</Data>
  <Data>5215bbc1</Data>
  <Data>gvc.dll</Data>
  <Data>0.0.0.0</Data>
  <Data>5215ba97</Data>
  <Data>c0000005</Data>
  <Data>0005819d</Data>
  <Data>b10</Data>
  <Data>01cea5c061222e68</Data>
  <Data>C:\Program Files (x86)\Graphviz2.33\bin\gvedit.exe</Data>
  <Data>C:\Program Files (x86)\Graphviz2.33\bin\gvc.dll</Data>
  <Data>af7e931e-11b3-11e3-8fb6-446d57cddaa5</Data>
  </EventData>
  </Event>
User avatar (0000461)
Abyssoft (reporter)
2013-08-30 16:39

and here is the friendly view
Faulting application name: gvedit.exe, version: 0.0.0.0, time stamp: 0x5215bbc1
Faulting module name: gvc.dll, version: 0.0.0.0, time stamp: 0x5215ba97
Exception code: 0xc0000005
Fault offset: 0x0005819d
Faulting process id: 0xb10
Faulting application start time: 0x01cea5c061222e68
Faulting application path: C:\Program Files (x86)\Graphviz2.33\bin\gvedit.exe
Faulting module path: C:\Program Files (x86)\Graphviz2.33\bin\gvc.dll
Report Id: af7e931e-11b3-11e3-8fb6-446d57cddaa5
User avatar (0000462)
erg (administrator)
2013-08-30 22:13

Windows! Why does it always have to be Windows?
User avatar (0000463)
erg (administrator)
2013-08-31 08:47

Okay, the circo problem has been fixed. The changes are in the graphviz working version as of 31 August.
User avatar (0000480)
ellson (administrator)
2013-09-04 12:14

Further changed to render 'none' as a featureless edge segment.

See: graphs/directed/arr_none.gv for a test case.

- Issue History
Date Modified Username Field Change
2013-08-30 14:06 Abyssoft New Issue
2013-08-30 14:06 Abyssoft File Added: arrowType_IncorrectRendering_when_has_none.png
2013-08-30 14:11 Abyssoft Note Added: 0000456
2013-08-30 15:50 erg Note Added: 0000457
2013-08-30 15:50 erg Assigned To => erg
2013-08-30 15:50 erg Status new => resolved
2013-08-30 15:50 erg Resolution open => fixed
2013-08-30 16:36 Abyssoft Note Added: 0000459
2013-08-30 16:36 Abyssoft Status resolved => feedback
2013-08-30 16:36 Abyssoft Resolution fixed => reopened
2013-08-30 16:38 Abyssoft Note Added: 0000460
2013-08-30 16:38 Abyssoft Status feedback => assigned
2013-08-30 16:39 Abyssoft Note Added: 0000461
2013-08-30 22:13 erg Note Added: 0000462
2013-08-31 08:47 erg Note Added: 0000463
2013-08-31 08:47 erg Status assigned => resolved
2013-08-31 08:47 erg Resolution reopened => fixed
2013-09-04 12:10 ellson Tag Attached: /home/ellson/FIX/Linux.x86_64/build/graphviz/graphs/directed/arr_none.png
2013-09-04 12:12 ellson Tag Detached: /home/ellson/FIX/Linux.x86_64/build/graphviz/graphs/directed/arr_none.png
2013-09-04 12:14 ellson Note Added: 0000480
2013-09-04 12:17 ellson FIX-COMMENT => arrow 'none' now rendered as a featureless edge segment.
2013-09-04 12:17 ellson Status resolved => closed
2013-09-04 12:17 ellson Assigned To erg => ellson


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