Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000586graphvizNeatopublic2001-04-20 10:162011-04-28 04:02
Reporteruser442 
Assigned Tonorth 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOS*-*-OS Version
Summary0000586: unused edge weights
Description



Setting the edge weight attribute has no effect.
The problem is in diffeq_model. The initial loop traverses
all node pairs, ordered by their position in G->u.neato_nlist,
and calls agfindedge to see if an edge is associated with the pair.
Unfortunately, if agfindedge is called with (a,b), it assumes
a is the tail and b the head. For undirected graphs, this just
depends on how the user writes the edge. Thus, much of the time,
the call to agfindedge doesn't return the edge. (In fact, if the
user writes "a -- b;", the edge will be created as a-> b. Also,
a will precede b in G->u.neato_nlist, so agfindedge will be called
with (b,a), and the current choice is worse than random.)



Possible fixes: use an undirected version of agfindedge (Note:
agfindedge does find the edge; it just throws it away if the head
and tail don't match.) or call agfindedge with both orderings of
nodes.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID8
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (27 December 2002)
VERSION     
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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


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