FR 7140 then FR 814 at Dublin
Vilnius → Dublin → Edinburgh
Timetable, Dublin time
17:35FR 7140 from Vilnius at the gate
05:55FR 814 to Edinburgh leaves the gate
12 h 20 apart on the timetable, overnight
FR 814 leaves 12 h 20 after FR 7140 arrives on the timetable: more than half a day, so not a connection we count.