Right-click on the selection button in "edit" Panel to toggle between regular
and freeform, any other function that allows multi selection will use whatever
selection method you set.
Added Ability to hide selected nodes/connections.
Added "Show/Hide" buttons in toolbar, hides user selected nodes/connections.
Added Transparency slider to Config, select how hidden they are ( 0 - 100% )
Added select/ignore hidden nodes/connection button (click to toggle)
NOTE: This setting also effects the functionality of almost all the
'Nodes' panel buttons, if something does not work, check this setting first
Added a Flip Connections button
Allows you to swap the direction of any connection, also supports multi-select
Added support for displaying and properly maintaining parking spots @rhaetional
IMPORTANT... only works for standard configs (not routeManager configs)
If a vehicles.xml is in the same folder as the config, it will read all the
parking spot from each vehicle and visually display them.
When saving a config, the vehicles.xml will be updated to reflect any
changes to the node/marker order.
Added Menu option to move out-of-bounds nodes back into editable area @rhaetional
Added a recent file's menu, stores the 10 previously loaded configs.
Added the currently used Autosave settings to the info panel.
Added help menu item containing a link for help on creating map images for the editor.
Added a 'Display' menu to allow turning off parking/marker icons and marker names.
Added safeguards in places against network corruption
As i have no re-producible cases, i have target the obvious places
A dialog will appear if triggered, please consider reporting if found
Safeguards should trigger before anything incorrect is committed
Changes
Grid size/Max Zoom settings are saved to/restored from the editors config for known maps.
MapPanel rendering improvements.
Configs with large amount of nodes will see the most speed increase.
Changed the way nodes are rendered to significantly reduce the z fighting
when nodes are close together and the drawn connections overlap,
Added timers to node size buttons, can now single click or click + hold to adjust size.
Arrow pointers scale down when the distance between nodes cannot support their full size.
Replaced the overlapping nodes search function with a more optimised KDTree version.
Removes a possible Concurrency Exception when nodes are moved while scan in progress.
Previous versions used a brute force method, the number of searches was the total number of nodes squared, the performance hit was fine for a small number of nodes, but, on a large number of nodes it was astronomical.
Old search function performance.
5,000 node config, number of searches was 250,000 (5000²)
70,000 node config, the number of searches was 4,900,000,000 (70,000²)
Nearly 5 billion searches for a 70,000 node search!, this is why it took so long
on large node configs, the search function had to be threaded otherwise the editor
would be frozen until the search was finished, that could be 30+ seconds.
Old vs New search times.
Small config with 5,000 nodes (200ms old version, 17ms new version)
Large config with 70,000 nodes (42sec old version, 0.6sec new version)
Adjusted zoom in/out scaling, getting to max zoom requires much less wheel scrolling.
FileChoosers used for loading anything are now Read-Only to avoid accidental renaming.
Added
Added Freeform selection.
Added Ability to hide selected nodes/connections.
Added a Flip Connections button
Added support for displaying and properly maintaining parking spots @rhaetional
Added Menu option to move out-of-bounds nodes back into editable area @rhaetional
Added a recent file's menu, stores the 10 previously loaded configs.
Added the currently used Autosave settings to the info panel.
Added help menu item containing a link for help on creating map images for the editor.
Added a 'Display' menu to allow turning off parking/marker icons and marker names.
Added safeguards in places against network corruption
Grid size/Max Zoom settings are saved to/restored from the editors config for known maps.
MapPanel rendering improvements.
Added timers to node size buttons, can now single click or click + hold to adjust size.
Arrow pointers scale down when the distance between nodes cannot support their full size.
Replaced the overlapping nodes search function with a more optimised KDTree version.
Previous versions used a brute force method, the number of searches was the total number of nodes squared, the performance hit was fine for a small number of nodes, but, on a large number of nodes it was astronomical.
Old search function performance.
5,000 node config, number of searches was 250,000 (5000²)
70,000 node config, the number of searches was 4,900,000,000 (70,000²)
Nearly 5 billion searches for a 70,000 node search!, this is why it took so long on large node configs, the search function had to be threaded otherwise the editor would be frozen until the search was finished, that could be 30+ seconds.
Old vs New search times.
Small config with 5,000 nodes (200ms old version, 17ms new version)
Large config with 70,000 nodes (42sec old version, 0.6sec new version)
Adjusted zoom in/out scaling, getting to max zoom requires much less wheel scrolling.
FileChoosers used for loading anything are now Read-Only to avoid accidental renaming.
Moved "Rotate nodes" button to the "Nodes" Panel.
Added keyboard shortcut for moving nodes ( 'M' toggles move on/off ).
Changed selection preview of to reflect node and connection type changes
Updated Log4J to v2.20.0
Fixed
Many small fixes I forgot to document.
Happy Holidays 2023 / New Year 2024