Coder Social home page Coder Social logo

Comments (2)

spededd avatar spededd commented on June 9, 2024

If possible I would like to get some attention for this issue. Thank you.

from netlistsvg.

djwubs avatar djwubs commented on June 9, 2024

The net is only connected to input ports, which makes it a special case. Currently, nets connected to either only input ports or only output ports are not supported by ELK. As a workaround for this, an invisible dummy node is used to add an output or input port respectively so ELK can generate the layout. After the layout is created, this dummy node and the net leading to the dummy node should deleted.

What you are seeing here for net 13 is part of the wire leading to the dummy node. As far as I know, this problem is caused by the function findBendNearDummy() in drawModule.ts, which should determine the point until which the net should be deleted. I do not fully understand the process of choosing this point, but it is based on the bendPoints of the net.

I have experimented a little bit with the findBendNearDummy() function to find a solution to this bug. When using the junctionPoints of the net, instead of the bendPoints, the right schematic is generated, as shown in the image. Despite the fact that it generates the right schematic, I am not sure this is the right solution, as I am not sure about the logic behind it. I also do not know if this is a universal solution for all cases. For reference, a closed issue related to this issue is issue #59 (and maybe issue #23).

from netlistsvg.

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.