Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8844

SWF Diagram Viewer - Preserve background color of a node in stunner diagram

XMLWordPrintable

    • False
    • None
    • False
    • ---
    • ---
    • 2023 Week 09-11 (from Feb 27)

      While trying to set the background color of a node in the stunner diagram(in the combined editor), though the bg-color is set initially, when hovered over or clicked on a node, it looses the bg-color which was set.

      Expected Result

      • NONE state's background should be preserved
      • HIGHLIGHT state shouldn't change background and should reuse NONE background colour
      • New colour can be set ONLY for NONE state (to change the colour of a node's background the node should be in state NONE)

      Example:
      To change the colour the stable consequence will be:

      canvas.applyState('uuid', 'none')
      canvas.getWiresShape('uuid').setBackgroundColor('green')
      canvas.draw()
      

            kgaevski@redhat.com Kirill Gaevskii
            ajaganat Ajay Jaganathan
            Lubomir Terifaj Lubomir Terifaj
            Lubomir Terifaj Lubomir Terifaj
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: