XTrackCAD is a CAD (computer-aided design) program for designing model railroad layouts.
Flatpak not officially supported, yet ;-) ; search for "flatpak" from the faq/home wiki