View Issue Details

IDProjectCategoryView StatusLast Update
0000060VANTED 2.8.2[All Projects] Generalpublic2022-02-25 03:11
ReporterguestAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0000060: GraphHelper getConnectedComponentsAsCopy duplicates edges in the copy of the connected component
Description

The method getConnectedComponentsAsCopy from the GraphHelper class duplicates edges in the copy of the connected component.
I think it needs to keep track of edges which have already been added to the connected component.

Steps To Reproduce

1) Add the attached bsh script to your VANTED user profile.
Windows: c:/Users/<username>/AppData/Roaming/VANTED
Linux: /home/<username>/.vanted
MacOS: /Users/<username>/Library/Preferences/VANTED/
2) Run VANTED.
3) Run the script on the attached test.gml (probably adjust path separator if necessary).
It should create two files ./test/test_1.gml and ./test_2.gml (see also the attached files).
Both gml files should have two edges instead of one.

TagsNo tags attached.
Attach Tags

Activities

guest

guest

2022-02-25 03:11

reporter  

test.gml (2,763 bytes)
test_1.gml (1,963 bytes)
test_2.gml (1,966 bytes)
save_connected_components_gml.bsh (852 bytes)

Issue History

Date Modified Username Field Change
2022-02-25 03:11 guest New Issue
2022-02-25 03:11 guest File Added: test.gml
2022-02-25 03:11 guest File Added: test_1.gml
2022-02-25 03:11 guest File Added: test_2.gml
2022-02-25 03:11 guest File Added: save_connected_components_gml.bsh