graph-pasteboard-mixin : (class? . -> . class?) | ||
| ||
|
(new graph-pasteboard-mixin [ [edge-labels? edge-labels?] [edge-label-font edge-label-font]] [cache-arrow-drawing? cache-arrow-drawing?] ...superclass-args...) → (is-a?/c graph-pasteboard-mixin) edge-labels? : boolean? = #t edge-label-font : (or/c #f (is-a?/c font%)) = #f cache-arrow-drawing? : any
If edge-labels? is #f, no edge labels are
drawn. Otherwise, they are.
If edge-label-font is supplied, it is used when drawing the labels on the edges. Otherwise, the font is not set before drawing the labels, defaulting to the dc<%> object’s font.
If cache-arrow-drawing? is #f, then the arrows in the snip are not cached in a bitmap (to speed up drawing when the mouse moves around). Otherwise, they are.
This mixin overrides many methods to draw lines between
graph-snip<%> that it contains.