Comments (2)
If possible I would like to get some attention for this issue. Thank you.
from netlistsvg.
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)
- Request: Padding
- TypeError: Cannot read property 'startsWith' of undefined at built/Skin.js:11 HOT 5
- patch for correct OR and NOR gates shapes in default.svg HOT 1
- Node v12 doesn't resolve dependancies HOT 1
- Text is getting cropped
- New version? HOT 1
- Module name used instead of Instance name for generic cells
- Render attribute as label on wires
- How to decode this error message? HOT 1
- $_ANDNOT gate is rendered as $_NAND HOT 4
- The generated schematics are corrupted around the (AND) cell. HOT 2
- wires
- output pin doesn't connect to anything HOT 1
- Add css media queries to support dark themes HOT 1
- Forcing bits on a bus to be ordered numerically HOT 1
- could you please commit and maintain a package lock file? HOT 1
- sv2v interfaces not rendered properly
- Feature Request: Hide Specified Ports
- Feature Request: Generate arithmetic operations fused with constants HOT 2
- cannot open output file using xdot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netlistsvg.