-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for an issue that matches the one I want to file, without success.
Request type
Request for a new component
Functionality
Problem Statement:
Currently, the Netzgrafik-Editor (NGE) does not support asymmetric times in timetable concepts. This limits the flexibility in editing and adjusting timetables. It also makes it very difficult to access existing productive timetable data or to import them. Therefore, the Netzgrafik-Editor should allow asymmetric times.
Proposed Solution:
Implement a function that allows asymmetric times in timetable concepts. This function should be disabled by default but can be activated by the user. This should be saved within the variant, ensuring that a variant has a clearly defined state, i.e., whether asymmetry is allowed or not.
Functionality:
- Activation of Asymmetric Times:
- The editor will have a new option to activate asymmetric times.
- This option is disabled by default.
- Users can activate the option if they need asymmetric times.
- Activation of Warnings for Asymmetric Times:
- The editor will have a new option to enable/disable warnings for asymmetric times (displayed in orange).
- This option is enabled by default.
Saving Settings:
The activation of asymmetric times, as well as the flag for warnings of asymmetric times, will be saved in the JSON of the variant.
This ensures that the settings are retained for future edits.
Example JSON Implementation:
{
"metadata": {
"asymmetricTimes": false,
"warningAsymmetricTimes": true,
}
}
User Interface:
- A checkbox or a switch in the editor (under Settings) to enable or disable asymmetric times.
- When the option is enabled, users can enter times that are not symmetric.
Technical Requirements:
- Adaptation of the NGE to support the new option.
- Extension of the data model to store the setting for asymmetric times.
- Ensure backward compatibility for existing timetable concepts.
- The route graphic needs to be adjusted or checked to ensure it can handle asymmetric times.
- The propagation function needs to be verified.
Advantages:
- Increased flexibility in creating and adjusting timetables.
- User-friendly with simple activation and deactivation of the function.
- Storing the settings ensures consistent editing.
Link to design proposal file
No response