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

SWF Viewer - States coloring

XMLWordPrintable

    • 2022 Week 26-28 (from Jun 27), 2022 Week 29-31 (from Jul 18)

      Motivation

      Actually when a workflow is being opened, it fits into screen size by default, and depending on the number of states, it may result on states being really small, where user can't easily differentiate between types, as icons are also so small. For example:

      Goal

      The goal is to improve workflow's high level view and readability, by adding colors to states, depending on the state type.

      Colors and it's appearance (thickness, size, alignment) should as it shown on the image below:


      Colors by State:

      1. Operation State = #0066CC
      2. Callback State = #EC7A08
      3. Parallel State = #4CB140
      4. Event State = #F4C145
      5. Switch State = #009596
      6. Sleep State = #5752D1
      7. Inject State = #8BC1F7
      8. ForEach State = #8F4700

      Here is some example of the resulting workflow:

      Not a goal

      Update icons to new one. This issue is solely about icons appearance and it's background, not icons themselves.

      Actions

      1. Perform changes in the states shapes in order to apply colors, thickness, size, alignment

        1. image-2022-07-08-22-56-30-732.png
          image-2022-07-08-22-56-30-732.png
          41 kB
        2. image-2022-07-08-22-56-50-998.png
          image-2022-07-08-22-56-50-998.png
          57 kB
        3. image-2022-07-08-22-57-02-318.png
          image-2022-07-08-22-57-02-318.png
          57 kB
        4. States@1x.png
          States@1x.png
          30 kB
        5. firstColorsTry.png
          firstColorsTry.png
          341 kB
        6. image-2022-07-13-17-45-57-878.png
          image-2022-07-13-17-45-57-878.png
          94 kB
        7. image-2022-07-13-17-48-12-142.png
          image-2022-07-13-17-48-12-142.png
          98 kB
        8. Screenshot 2022-07-14 at 11.39.03.png
          Screenshot 2022-07-14 at 11.39.03.png
          128 kB
        9. Screenshot 2022-07-14 at 11.36.29.png
          Screenshot 2022-07-14 at 11.36.29.png
          239 kB
        10. SWF State Icons_Event 3.svg
          2 kB
        11. Colors for shapes.png
          Colors for shapes.png
          238 kB

            kgaevski@redhat.com Kirill Gaevskii
            romartin@redhat.com Roger Martinez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: