-
Notifications
You must be signed in to change notification settings - Fork 1
Curved Connectors
Connectors between elements were previously drawn straight. The Curved Connectors feature allows those relations to be drawn curved instead. The purpose of this feature is to increase the clarity of the visualization.
A new file ui/scripts/Relation/RelationCurvedConnectionHelper.js
defines a function object named createCurvedRelationConnectionHelper
. This function object takes a controllerConfig as input and contains all necessary logic for drawing curved connectors. Based on configuration, either straight or curved connectors will be created in the activate() function in ui/scripts/Relation/RelationController.js
.
The Curved Connectors feature can be enabled or disabled as part of the controllerConfig in a setup. It is enabled by default in the example setup ui/setups/relations.js
.