FR 5562 then FR 818 at Dublin
Glasgow → Dublin → Edinburgh
Timetable, Dublin time
10:25FR 5562 from Glasgow at the gate
06:15FR 818 to Edinburgh leaves the gate
19 h 50 apart on the timetable, overnight
FR 818 leaves 19 h 50 after FR 5562 arrives on the timetable: more than half a day, so not a connection we count.