[mcclim-devel] format-graph-from-roots
I was just reading over the CLIM spec, and apropos of this function, it states that there should be a default to the ARC-DRAWER keyword argument. "If arc-drawer is unsupplied, the default behavior is to draw a thin line from the ``from'' node to the ``to'' node using `=--cldraw-line*." But what's checked into the CVS now doesn't have that, causing crashes if it's omitted. I think some simple default to DRAW-ARROW* should work, but I'm too abysmally ignorant of CLIM to propose a patch myself. Best, Robert
rpgoldman@real-time.com writes:
I was just reading over the CLIM spec, and apropos of this function, it states that there should be a default to the ARC-DRAWER keyword argument. [...] But what's checked into the CVS now doesn't have that, causing crashes if it's omitted. I think some simple default to DRAW-ARROW* should
Maybe something like this (untested): #'(lambda (stream from to from-x from-y to-x to-y) (declare (ignore from to)) (draw-line* stream from-x from-y to-x to-y)) McCLIM's FORMAT-GRAPH-FROM-ROOTS, like the above function, currently ignores :ARC-DRAWING-OPTIONS. Paolo -- Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film
participants (2)
-
Paolo Amoroso
-
rpgoldman@real-time.com