In XPCE, graphical objects can be connected with the Connection class (see Chapter 5.3. in the manual).
Is there an easy way to attach text labels to connections?
In XPCE, graphical objects can be connected with the Connection class (see Chapter 5.3. in the manual).
Is there an easy way to attach text labels to connections?
Positioning the label with XPCE constraints (https://www.swi-prolog.org/packages/xpce/UserGuide/sec-5.4.html), perhaps with help of class spatial (https://www.swi-prolog.org/packages/xpce/UserGuide/summary.html#class:spatial) ?