Skip to content

[Bug]: Colors for groups in network analysis are not working correctly since 0.19.1 #3024

@JVAQUEROM

Description

@JVAQUEROM

JASP Version

0.19.1

Commit ID

No response

JASP Module

Network

What analysis are you seeing the problem on?

Network Analysis

What OS are you seeing the problem on?

Flatpak

Bug Description

When I am doing a Network analysis, I want to get the bubles filled with color according to the group they belong to. I set the groups in graphical options and if I make some change (adding/removing a variable for example), the colors get wrong (for example, I change the group in Var1 and the one that changes is Var2). I think something must be wrong with the index (it may be taking outdated indexes or something similar).

Expected Behaviour

After adding/removing variables in the analysis, the colors of the variables should match what I put in the "Graphical options" part.

Steps to Reproduce

  1. Create a network analysis with network plot
  2. Create in graphical options some groups and assign them to the variables
  3. Add remove some variables
  4. Try to change some groups in the variables. You will see they do not match with the network plot.

Log (if any)

No response

More Debug Information

-------- Application Info --------
JASP Version: JASP 0.19.1
Build Branch: HEAD
Build Date: Sep 10 2024 13:48:11 (Netherlands)
Last Commit: a7ca00d09fc8a4c990031d10ba3d20a43c86d823

-------- Basic Info --------
Operating System: KDE Flatpak runtime
Product Version: 6.7
Kernel Type: linux
Kernel Version: 6.11.6-2-default
Architecture: x86_64
Install Path: /app/bin
Platfotm Name: wayland
System Local: es_ES

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions