Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002156graphvizDocumentationpublic2011-11-05 20:272011-11-07 14:58
Reporterchrisseaton 
Assigned Toerg 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Summary0002156: Grammar of point attributes in the docs is wrong
Descriptionhttp://www.graphviz.org/content/attrs#kpoint [^] says that the format for a point is "%f,%f"('!'). I believe it is actually "%f,%f('!')"
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION
Attached Files

- Relationships

-  Notes
User avatar (0000103)
erg (administrator)
2011-11-07 14:57

The current specification is what was intended. It shows what are possible attribute values, regardless of whether the string needs to be wrapped in quotes. It relies on a mishmash of literal strings, stdio notation, and regular expressions. In this case, "%f,%f" is what is used to match two doubles separated by a comma. The ('!') notation was meant to imply an optional exclamation point.

That said, the documentation could be clearer. I had put in more information about regular expressions, and rationalized the usage some.

- Issue History
Date Modified Username Field Change
2011-11-05 20:27 chrisseaton New Issue
2011-11-07 14:57 erg Note Added: 0000103
2011-11-07 14:58 erg Assigned To => erg
2011-11-07 14:58 erg Severity important => minor
2011-11-07 14:58 erg Status new => assigned
2011-11-07 14:58 erg Resolution open => fixed
2011-11-07 14:58 erg Status assigned => closed


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