► |  | Mr Lib: Extra GUI Libraries

1 | Aligned Pasteboard
2 | Bitmap Label
3 | Cache-image Snip
4 | Close Icon
5 | GIF and Animated GIF Writing
6 | Graphs
7 | Hierarchical List Control
8 | Include Bitmap
9 | Interactive Value Port
10 | Name Message
11 | Path Dialog
12 | Plot
13 | Switchable Button
14 | Te X Table
15 | Acknowledgments
| Index

▼ | 6 | Graphs

6.1 | graph-pasteboard<%>
6.2 | graph-pasteboard-mixin
6.3 | graph-snip<%>
6.4 | graph-snip-mixin
6.5 | Graph Functions

top ← prev up next →

graph-pasteboard-mixin : ( class? . -> . class? )

argument extends/implements: | pasteboard%

result implements: | graph-pasteboard<%>

( new graph-pasteboard-mixin |
| [ | [edge-labels? edge-labels?] |
|  | [edge-label-font edge-label-font]] |
|  | ...superclass-args...) |

→ ( is-a?/c graph-pasteboard-mixin )
edge-labels? : boolean? = #t
edge-label-font : ( or/c #f ( is-a?/c font% )) = #f

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.

This mixin overrides many methods to draw lines between graph-snip<%> that it contains.
top ← prev up next →