netzgrafik-editor-frontend
netzgrafik-editor-frontend copied to clipboard
[Feature request]: Dwell time at intermediate stations
Preflight Checklist
- [x] I have read the Contributing Guidelines for this project.
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.
Request type
Request for enhancement of a component
Functionality
Right now, when I extend a train from one node to the next, the train waits 1 minute between arrival and departure. I'd like to be able to set a custom dwell time; for example, trains in the US don't make a distinction between scheduled arrival and departure time.
This also applies to when I propagate a change to the arrival/departure at one station; right now it will automatically recalculate the arrival/departures for all other stations with dwell time of 1 minute when I click the left/right arrow.
Link to design proposal file
No response
The dwell time can be changed for each node by clicking on a node's pencil button, then scrolling down to the "stopping times" section in the left panel:
Each train category is associated with a "fach category" (one of IPV, A, B, C, D, uncategorized).
Currently there is no way to define a default dwell time for all new nodes (see getDefaultHaltezeit()).
I'd like to be able to set a custom dwell time; for example, trains in the US don't make a distinction between scheduled arrival and departure time.
Do you mean that in the US, you would like to set the dwell time to zero?
Do you mean that in the US, you would like to set the dwell time to zero?
Yes, but I can just set "D" to 0 if I understand correctly.
Yes, that should work.
Is this ergonomic enough for your use-case? Would you prefer a way to set default dwell times for all new nodes?
I think it would be very useful to have default dwell times for all new nodes, yes.
Do you think you'd have time/interest to send a patch to implement this? We can provide pointers and guide you through the process.
If you want to chat, feel free to join our Matrix channel: https://matrix.to/#/#nge:osrd.fr
Feature Request Clarification
Ah – now I understand why you want to change the default settings for the dwell times (override them globally).
@emersion this is definitely something we need to improve.
Furthermore, it should be possible to globally override all dwell time settings (nodes) – similar to the user‑defined labels for filtering, where you can either delete a label or apply it to all visible elements. This behavior should be implemented in the same way:
- Adjust default → always applies when a new node is created.
- Global apply → allows the settings to be applied to all visible elements.
*) Important: if we apply a property to all elements, we have to respect the base concept – what you see gets changed/analysed, but only what is visible. Elements outside the viewport/frustum are fine, but filtered elements should not be changed.
Related
I also see that the trainrun – category / time category and frequency – is another aspect we should consider adjusting. I think this should be introduced together with this request. We should think about all “default” settings. For example, we might introduce a global settings/properties modification tab in the sidebar.
Feedback Requests
@ Please provide feedback if this makes sense.