ville.Connect is a Qooxdoo control designed to visually connect widgets on a canvas type layout.
Create a diagram/workflow/mindmap, tool/widget/capability using 100% Qooxdoo code and objects. No SVG or Canvas HTML tags, if at all possible.
Example of two ui objects connected by a single connector:
"connections" : [
{
elementA : widget1,
elementB : widget2,
properties : {
appearance : "connector",
decorator : "connector-solid"
},
options : {
anchorA: "horizontal",
anchorAposition: "center-top",
anchorB : "horizontal",
anchorBposition: "center",
anchorAoffsetTop: 10,
anchorAoffsetLeft: 10,
anchorBoffsetTop: 10,
anchorBoffsetLeft: 10,
strokeWidth: 8,
startArrow: "dark-arrow",
startArrowsize: 32,
endArrow: "dark-arrow",
endArrowsize: 32
}
}
]
Note: Limitations are due to object creation (elements, connections and arrows) only occuring during the initial loading of the diagrams. The demo application tool can only edit what has been initially created.
Distributed under the MIT License. See LICENSE
for more information.
Inspired by and learned from this project: jqSimpleConnect