Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000131graphvizDotpublic2002-11-15 11:032011-04-28 04:02
ReporterJoachim Nadler 
Assigned Togviz 
PrioritynormalSeveritycosmeticReproducibilityalways
StatusacknowledgedResolutionno change required 
PlatformOSx86-Windows-XPOS Version
Summary0000131: line numbers in warnings?
Description



It is very nice, that dot issues warnings
(eg. for meaningless lhead/ltail references).
But it might be even more helpful if they
were accompanied by a line number.



By the way: it is in general a good thing that dot automatically
inserts a node "x" by default if it is referenced
in an edge "x -> y" and "x" has not been declared before.
But sometimes a typo might be involved so that an unintended
edge is created! This case might be difficult to spot
in a large graph.
The "declare before use" paradigm served a purpose
in programming languages, so maybe it is useful in
this case too.
So I suggest to introduce a command line option that
warns if an edge references an (previously?) unseen node.
What do you think?
Additional Information

Thank you very much in advance.
This is really a great tool to work with.

[erg] Line numbers on warnings will involve code change. We could
decide to maintain line numbers in the graph, but because nodes
and edges can be used multiple times, line numbers would also have
to be attached to attributes. Alternatively, moving the check to
the parser wouldn't work in general, because the use of ltail
or lhead in an edge may precede the definition of the cluster.

As for providing stricter checking, this could be helpful. Other
possible checks would be for multiple edge expressions for the same
edge, and reporting attributes or values unrecognized by graphviz.
This last would probably be most helpful if it checked specifically
for attributes close to a known attribute or value, to pick up
potential misspellings.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID218
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTRequest
VERSION     1.8.10
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 => user1


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