XmGraph is a software package that includes two widgets, XmGraph and XmArc, which can be used to create graphical displays and interactive elements in software applications.
For instance, we found out that Arcs with a slope of -1 and a width of 0 are not drawn, and the workaround to this is putting a blank label on each arc. Also, background pixmaps on the graph widget are not refreshed when an arc is moved, causing the inability to differentiate selected arcs from unselected ones on a black and white display. Consequently, we opted not to use a background pixmap on the graph widget.
Similarly, automatic scroll bars do not appear and disappear adequately. To overcome this, we force the scroll bars to always be present. We also encountered an X server error when creating windows larger than ~16K pixels in either direction, particularly when using HP-UX 8.0. Consequently, we modified our layout algorithm to automatically wrap our graphs to fit into the new 16K pixel limit. Notably, our layout algorithm is separate from the graph widget.
Moreover, the graph widget can core dump the 8.0 X server when drawing long zero width lines that are almost vertical or horizontal. To avert this issue, ensure that you have the X server patches from the previous November. All our code changes have been availed to Thuan directly or through CLL.
Notably, the latest release adds one more fix to Arc.c, where the "if" statement allows a background pixmap to be used with the graph widget. This correction enables the graphic front end to softstatic to be usable on a monochrome display. To witness the error that this corrects, run "./sort -xrm "*XmGraph.backgroundPixmap:25_foreground" 17", then move some nodes around. With this patch, the old arcs are correctly erased.
Version 2.1: N/A