JGraph Updating Guide


Table of Contents

Introduction
JGraph 5.9
Off screen buffer moved to JGraph class
JGraph 5.8
Edge Renderer graph reference made weak reference
JGraph 5.7
Loop routing seperated from general routing
Edgeview now keeps manual control points
JGraph 5.6.3
Port and vertex renderers no longer have graph reference.
JGraph 5.6.1
getSelectionCellAt added to JGraph
Moves into group checks for full intersection
Inserting/Removing extra labels in edge handle
Bounds cloning bug in JGraph.getCellBounds
EdgeView.getPerimeterPoint returns edge center
JGraph 5.6
Expand/Collapse Functionality
Adds getPerimeterPoint to CellView interface
Moves getCenterPoint as static method to AbstractCellView
Adds getCells to GraphLayoutCache
Other Changes
JGraph 5.5.3
Move In/Out Groups Functionality
Deprecated DefaultGraphModel.getUserObject(Object)
Other Changes
JGraph 5.5.1
New Hooks in AbstractCellView
Deprecated GraphCell.changeAttributes
Other Changes
JGraph 5.5
GraphModel.valueForCellChanged
EdgeView.getEdgeRenderer
Labels for Self-References (aka Loops)
Other Changes
JGraph 5.4.4
BasicMarqueeHandler
BasicGraphUI.MouseHandler.handleEditTrigger
New Helper Methods
Other Changes
JGraph 5.4.3
Edge Labels
JGraph 5.4.1
AskLocalAttributes
AllAttributesLocal
Performance Improvements
Insets
Other Changes
JGraph 5.4
Event Notification in GraphLayoutCache
AttributeMap Does Not Store User Object
New Methods
Other Changes
Abbott Tests
JGraph 5.3
Automatic Selection
Attribute Maps
Storage Maps
Transport Maps
New Methods
JGraph 5.2
JGraph.setSelectNewCells
DefaultCellViewFactory
Extended Observer Pattern
Standalone GraphLayoutCache and Cell Views

Introduction

This guide should help you to update existing code to the latest JGraph versions. We try and keep the impact of new versions as minimal as possible, some bug fixes and extensions still require API changes. We will use deprecation where possible and explain the motivation of all changes and how to migrate your code in this guide.

Feel free to contact support@jgraph.com if you feel a change is missing or to request additional information for a change. (Please provide your order number when contacting support.)