lewish / asciiflow

ASCIIFlow
https://asciiflow.com
MIT License
4.54k stars 357 forks source link

Disable line auto connect in freeform #298

Open Thanzex opened 1 month ago

Thanzex commented 1 month ago

While generally useful, the auto-connecting feature is sometimes not desirable and we should be able to override it.

I'd like to have parallel lines like so:

  ────────────────
  ──────────────── 

However it gets auto-connected at the ends to become like this:

 ┌────────────────┐ 
 └────────────────┘ 

Even if i select the character in the freeform menu and apply it manually.

It applies to corners too, this:


│ │    ┌──
│ └────┤  
└──────┤  
       └──

becomes this:


│ │    ┌──
│ ├────┤  
└─┴────┤  
       └──

Even though i manually go into freeform and choose instead of and my input is completely disregarded and the lines are auto-connected.

This happens to arrows too:

     │
────►│
─────┤
     │

Becomes:

     │
┌───▲│
└────┤
     │

Again, even manually selecting the right arrow from the freeform menu does nothing and the arrow is changed to point upwards.

Thanzex commented 1 month ago

Thank you! I believe we can consider this issue as solved. Unless you'd like to keep it open for reference until the change makes its way to the main site