tuanchauict / MonoSketch

An ASCII graph drawing app
https://monosketch.io
Apache License 2.0
367 stars 9 forks source link

Exclude directions exist in upper inner char on lower inner char #590

Closed tuanchauict closed 5 months ago

tuanchauict commented 5 months ago

Upper char has higher priority in deciding the result of crossing

Before

┏━━━━━━━━┓         
┃        ┃         
┃        ┌────────┐
┃        │        │
┃        │        │
┗━━━━━━━━│        │
         │        │
         └────────┘

After

┏━━━━━━━━┓         
┃        ┃         
┃        ┞────────┐
┃        │        │
┃        │        │
┗━━━━━━━━┥        │
         │        │
         └────────┘