Skip to content

v13.33.0

Choose a tag to compare

@tomlyn tomlyn released this 04 Aug 23:45
e27ec91

Minor Release v13.33.0

Build

Notes:

  1. Support for React 16 and React 17 is now deprecated in Elyra Canvas. This support will be removed in a future major release.

  2. To allow Elyra Canvas components to work correctly with Carbon themes, applications should include @carbon/react in their SCSS file and NOT individual files from that package. As documented: https://elyra-ai.github.io/canvas/02-set-up/#styling-using-sass

Common Canvas

#1579 Bi-directional links

In this release the application can customize links to make them bi-directional if needed. That is:

  • with an arrow head at the target end of the link (as usual) or
  • with an arrow head at the source end of the link or
  • with arrow heads at both ends of the link or
  • with no arrow heads.

There have been a couple of changes to Common Canvas to support this:

  1. The canvasLayout property called dataLinkArrowHead can now be set explicitly set to false to switch off the display of link arrow heads provided by Common Canvas.

        const config = {
            enableCanvasLayout: {
                dataLinkArrowHead: false:
            }
        };
    
  2. The arrow heads can then be drawn using decorations. To help with that a new boolean property for decoration specifications has been added called rotate. This is only applicable for decorations applied to links. If set to true it will cause the decoration to rotate to an angle the same as the link line -- so the arrow heads will move around in the correct way when the links move.

These changes can be seen in the new Link Types sample application in the Elyra Canvas Test Harness.

image

Common Properties

#2675 Enhancement: Support for icons in action buttons.

Action buttons now support both icon and text simultaneously using the buttonIconHandler callback with new type actionButtonIcon. Previously, either icon or text was supported.

An example of this can be seen in the action_paramDef.json test file in the Elyra Canvas Test Harness:

image

Issues Resolved

Full Changelog: v13.32.0...v13.33.0