netzgrafik-editor-frontend icon indicating copy to clipboard operation
netzgrafik-editor-frontend copied to clipboard

[Feature request]: Dwell time at intermediate stations

Open ethanc8 opened this issue 1 month ago • 6 comments

Preflight Checklist

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

ethanc8 avatar Nov 02 '25 22:11 ethanc8

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:

Image

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?

emersion avatar Nov 19 '25 13:11 emersion

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.

ethanc8 avatar Nov 19 '25 14:11 ethanc8

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?

emersion avatar Nov 19 '25 14:11 emersion

I think it would be very useful to have default dwell times for all new nodes, yes.

ethanc8 avatar Nov 19 '25 15:11 ethanc8

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

emersion avatar Nov 19 '25 15:11 emersion

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.

aiAdrian avatar Nov 19 '25 16:11 aiAdrian