Transit Editor
To edit a transit schedule in the scenario editor, choose "Public Transport" in the first section of the toolbar. A number of different tools are then available in the second section of the toolbar.

Selecting Stops and Lines
Choose the select tool, then click on a transit stop. The stop's name as well as all lines serving this stop are listed on the right side. If multiple stops are located on top of each other, all transit stops at that coordinate will be listed.
Editing Transit Stops
If you have a stop selected, you can click on its Id or name to edit the information. To move a stop to a different location, choose the tool "Move Stop" from the toolbar, then click and drag the stop to its new location.
Editing Transit Lines
Select a stop, then select the line from the right side panel you want to edit and click on "Edit". An editor-tab will appear on the right side where you can select the route to edit.
Currently, it is possible to edit:
- The route's Id, description and mode
- the sequence of served stops along a route
- The travel time between stops and the time stops are being served (arrival- and departure-delays in MATSim's file format)
- The individual departures that serve the route
- The sequence of links (the network route) a transit vehicle travels along to serve all stops
Editing Sequence of Stops
To remove a stop from the sequence of served stops, click on the trash-icon next to the stop name in the list.
To add a new stop at the end (or start) of a route, click on the last/first stop and keep the mouse-button pressed. Drag the mouse pointer to the next stop that should be added. A thin line appears while dragging, and a plus-icon appears once the mouse pointer is over an existing stop. Release the mouse button to add the stop to the route.
To add a new stop in the middle of a route, click and drag on a connection between two stops. Drag your mouse to the stop to be added, and release the mouse once the plus-icon appears.
Adapt the travel times and stop times for the newly added stops.
Editing Departures
Switch to the "Departures" tab in the editor panel on the right side.
Click on "Add Departure" to add a single departure.
To add multiple departures with a fixed headway, select an existing departure and click on "Duplicate". When duplicating, you can specify the headway and the number of repetitions to add to the schedule.
Reverse a Transit Route
Choose a transit route to edit, then click on Duplicate beneath the route selection. You can then select between a regular duplicate of the route, or a reversed duplicate of the route.
Keeping an Overview with Plot
A single transit line can have a large number of individual routes composing the overall timetable, which can make it hard to select the correct route and to keep an overview of all the edits that were made.
The Plot tool offers a visual overview of all the routes in the line, showing which routes serve which stops and how
they augment each other in
the temporal space.
The initial plot will contain all routes in the line. Most of the time, you might want to filter using the Forward and
Backward buttons in the top left, in order to see only the routes going in one direction.
Click on a route in the plot to open it in the editor panel above. This way, the plot can be used as the "main menu" for selecting the correct route you might want to edit next.

Additionally, edited routes are marked in the Routes Overview.

Transit Network Route
Switch to the “Network Route” tab in the editor panel on the right side. If a network route already exists, the corresponding network links will be highlighted in orange. Additionally, you’ll see a visual overview of the route in the editor tab.

Legend for the Network Route View

Tools
- Select – Pan, zoom, and click on the map without making changes.
- Add Link – Add new links to the network route.
- Remove Link – Click any orange-highlighted link on the map to remove it from the route.
Adding Links
When you select the Add Link tool, the map highlights all nodes at the start or end of a route segment as large red dots. After selecting one of these nodes, the editor displays all links that can be added at that location. Click a link to include it in the route.

Starting from an Empty Route
When creating a new transit route without an existing network route, the Add Link tool will prompt you to select any link as the starting point. A good practice is to start with the link at the first stop. Ensure the link has the correct direction before continuing to add additional links.

Assigning Stops
After defining the network route, verify that all stops are assigned to the correct links. If a stop refers to a link not included in the current network route, it will be marked in red.
Use the Assign to link option to assign stops to appropriate links.

Because stops can be used by multiple routes, you have three options:
- Create a new stop facility at this link:
- Keeps existing stops and other routes unchanged
- Creates a new stop with the same name and coordinates
- Updates the current route to use the new stop
- Update the stop facility
- Changes the link ID of the selected stop
- May impact other routes that reference this stop
- Select an existing stop
- If a stop already exists at the selected link, you can replace the current stop with the existing one
You may also drop a stop directly onto a node using drag-and-drop. Since stops must be assigned to links, Tramola will create a loop link (a link with the same from-node and to-node) and assign the stop to it.
Batch Edit
Oftentimes, edits made to one route should also be applied to other routes in the same line, or even all public transport routes that go over a certain stop or link in the network. In Tramola, you can conventiently apply edits made on one route to other routes in your scenario.
Once you made edits to a route, you should see a section in the sidebar that allows you to select changes to apply to other routes. Edits that can be copied are:
- adding or removing stops
- adding or removing links in the network route
The algorithm will detect the sections you edited, e.g. Stop A -> Stop B -> Stop C turned into
Stop A -> Stop M -> Stop N -> Stop C. If the travel time between A and C was 240s before and is 300s after the
edit, the same travel time will be updated for all routes you apply the edit to.
