release_9.2.1
Feature Enhancements
Common-Canvas
-
#12 The context menu
Paste
option now pastes objects from the clipboard at the mouse pointer position where the context menu was requested. -
#357 Four new API methods have been added to Canvas Controller:
getNodeInputPorts(nodeId, pipelineId) getNodeOutputPorts(nodeId, pipelineId) setNodeInputPorts(nodeId, inputs, pipelineId) setNodeOutputPorts(nodeId, outputs, pipelineId)
The second two can be used to add new ports to the node; they will cause the canvas to refresh to reflect the ports specified.
See the canvas controller API documentation for more details. -
Warning: In this release the internal structure of canvas objects in the DOM has changed. Nodes, Links and Comments are now inside their own group (
<g>
) element. This means, if you have any tests that use selectors to identify objects (nodes, comments, links) like this:svg > g > g[data-id=123]
the selector would now be:
svg > g > g > g[data-id=123]
Common-Properties
- #255 Nested complex structures are now supported in common-properties. Complex structures that can be nested includes: structuretables, structurelisteditors, structureeditor and list controls. Examples are added to the test harness https://github.com/elyra-ai/canvas/tree/master/canvas_modules/harness/test_resources/parameterDefs
Issues resolved
#366 Some toolbar icons not visible with dark theme (#367)
#362 Selectable links disappear under comment when hovering stops (#363)
#167 Paste button is always enabled (#364)
#255 Complex types support complex types sub-controls (#256)
#360 Wide node labels truncated when displayed as part of ghost image (#361)
#357 Port addition/deletion UI render bugs (#358)
#12 Clipboard paste with context menu should add objects at mouse pos… (#353)