Download JGraph User Manual
Transcript
JGraph User Manual points of edges is required by that algorithm. Therefore, if one algorithm changes an edge's control points and another layout is immediately applied then the control points will probably look incorrect in the new layout. Rather than try to second-guess whether or not inserted control point were added purposefully or accidentally it is left to the developer to deal with the state of control points prior to a layout being applied. The utility method resetControlPoints() on JGraphFacade is available to clear all control points should you require this to be done before any layout is run. 7.2.3 EXAMPLES In the examples package of the JGraph.Layout product you will find a series of examples that demonstrates the layout features, as well as some additional features such as using an overview panel, exporting to SVG and implementing rich text label editiors. Note that the JGraphLayoutExample requires the use of the external L2FProd common library to run. This library is available under the Apache Software License. The JGraph team have used it for several years and found both the software to be of high quality and the lead developer to be very responsive to bug reports. Page 105