Skip to content

simulate-digital-rail/station-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

station-editor

Endpoints

GET /topology

Returns the topology of network as a YARAMO model

{
    nodes : [
        101: {
            x,
            y,
        },
        ...
    ],
    edges: [
        102: {
            nodeA: 101,
            nodeB: 103,
            geoNodes: [
                107: {
                    x,
                    y
                },
                108: {
                    x,
                    y
                },
                ...
            ]
        },
        ...
    ]
}

GET /stopAreas

Returns the list of stop areas

Body

    {
        nodeA: 101,
        nodeB: 102
    }

Response

[
    {
        length: 820,
        switchCount: 2,
        nodes: [
            102,
            103,
            105
        ]
    },
    ...
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published