# Why does the xcos drawing get mangled between sessions

**URL:** <https://scilab.discourse.group/t/why-does-the-xcos-drawing-get-mangled-between-sessions/760>\
**Category:** Xcos\
**Created:** [December 5, 2024, 4:46am UTC](https://scilab.discourse.group/t/why-does-the-xcos-drawing-get-mangled-between-sessions/760 "2024-12-05T04:46:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![greenguy](https://avatars.discourse-cdn.com/v4/letter/g/bb73d2/32.png) [@greenguy](https://scilab.discourse.group/u/greenguy)\
**Post date:** [December 5, 2024, 4:46am UTC](https://scilab.discourse.group/t/why-does-the-xcos-drawing-get-mangled-between-sessions/760/1 "2024-12-05T04:46:17Z")

</div>

Scicos 2025  
Lmint 21 Cinnamon

After working on a xcos diagram and saving, when I come back later in another session the connection lines are mangled with extra vertices and wander to random points in the diagram. They are still connected correctly but make the drawing a mess. Once corrected, the connections seems to then stay put.

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [December 9, 2024, 3:36pm UTC](https://scilab.discourse.group/t/why-does-the-xcos-drawing-get-mangled-between-sessions/760/2 "2024-12-09T15:36:34Z")

</div>

Hello,

Can you share your diagram ?

S.

---

<div class="post-metadata">

**Author:** ![Manfrind](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@Manfrind](https://scilab.discourse.group/u/Manfrind)\
**Post date:** [December 20, 2024, 8:26am UTC](https://scilab.discourse.group/t/why-does-the-xcos-drawing-get-mangled-between-sessions/760/3 "2024-12-20T08:26:29Z")

</div>

I had the same issue, but I already know the background. It depends on the fact, in which direction you draw the connection lines. If the lines are drawn in direction of the signal flow, everything is fine, but if you do a connection backwards, from a block on the end to a block in front of it, then when you open the file the next time, the lines are crossed as you mentioned it. So you have to go with the flow 😉
