Coder Social home page Coder Social logo

Lines crossing issue about svgbob HOT 3 CLOSED

ipocentro87 avatar ipocentro87 commented on July 28, 2024
Lines crossing issue

from svgbob.

Comments (3)

ivanceras avatar ivanceras commented on July 28, 2024

Hello @ipocentro87 , this is an intended effect as it make sense topology wise. In the first figure, the vertical line is much farther to the horizontal line, thus it shouldn't automatically connect. On the other hand in the second figure, the horizontal line is much closer to the vertical line on its side, therefore it automatically connects. Explicitly putting + or | on the intersection would connect it.

from svgbob.

ipocentro87 avatar ipocentro87 commented on July 28, 2024

Hi @ivanceras , is there an alternative way to write -|- but without having those lines crossing?
Example:

            //     |||   |||   |||   |||  | |
            //     vvv   vvv   vvv   vvv  | |
            //    +---+ +---+ +---+ +---+ | |
            //    |CSA| |CSA| |CSA| |CSA| | |
            //    +---+ +---+ +---+ +---+ | |
            //    s| |c  | |   | |   | |  | |
            //     | |   | | .-' '-. | |  | |
            //     | |   | '-|---. | | |  | |
            //     | '-------|-. | | | |  | |
            //     '---. | .-' | | | | |  | |
            //     .---|-|-|---|-|-|-|-|--' |
            //     | .-|-|-|---|-|-|-|-|----'
            //     | | | | | .-|-|-|-' |
            //     v v v v v v v v v   v

from svgbob.

ivanceras avatar ivanceras commented on July 28, 2024

@ipocentro87 you can use the any of the parenthesis, ( or ) to visually indicate the that lines is not connected, like so.

            //     |||   |||   |||   |||  | |
            //     vvv   vvv   vvv   vvv  | |
            //    +---+ +---+ +---+ +---+ | |
            //    |CSA| |CSA| |CSA| |CSA| | |
            //    +---+ +---+ +---+ +---+ | |
            //    s| |c  | |   | |   | |  | |
            //     | |   | | .-' '-. | |  | |
            //     | |   | '-|---. | | |  | |
            //     | '---)---|-. | | | |  | |
            //     '---. | .-' | | | | |  | |
            //     .---|-|-|---|-|-|-|-(--' |
            //     | .-|-|-|---|-|-|-|-|----'
            //     | | | | | .-|-|-|-' |
            //     v v v v v v v v v   v

Also, in electrical circles lines that just without putting a dot marker is also considered not connected.

from svgbob.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.