Coder Social home page Coder Social logo

Comments (8)

nturley avatar nturley commented on May 18, 2024

This might be an issue I've seen before. If you look at the first screenshot on the readme you'll see there's a redundant line to count_out. It's due to the way that ELK doesn't really handle hyper edges.

I probably made it even worse when I added "lateral port" handling a while back.

I'll need to add a step to search for these redundant wires and delete it down to the minimum number required to connect all of the ports.

from netlistsvg.

kasbah avatar kasbah commented on May 18, 2024

Are you setting postCompaction now? #40 (comment)

from netlistsvg.

nturley avatar nturley commented on May 18, 2024

I need to write up a document of all of the types of bad layouts.

I think ELK is tracking this issue here: eclipse/elk#374

I just added postCompaction the other day but it probably won't help with this particular issue.

from netlistsvg.

amstan avatar amstan commented on May 18, 2024

Here's the latest output (pulled a few hours ago) for my schematic: https://google.github.io/pcbdl/examples/servo_micro.svg

You can still see the same problem around U7 and U3.

postCompaction did make a lot of things shorter, I like that.

from netlistsvg.

nturley avatar nturley commented on May 18, 2024

It looks like youd benefit from wide nodes on multiple layers. We should try turning that on the analog skin as well. https://www.eclipse.org/elk/reference/options/org-eclipse-elk-layered-layering-widenodesonmultiplelayers.html

from netlistsvg.

amstan avatar amstan commented on May 18, 2024

I feel like I'm doing something wrong when trying to enable this.

It has no effect. But to be fair, even if I had typos it wouldn't complain about it

diff --git a/lib/analog.svg b/lib/analog.svg
index 0ef2d2e..6956616 100644
--- a/lib/analog.svg
+++ b/lib/analog.svg
@@ -9,6 +9,7 @@
	org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers="5"
	layered.compaction.postCompaction.strategy="4"
	elk.spacing.nodeNode= "35"
+        org.eclipse.elk.layered.layering.wideNodesOnMultipleLayers="AGGRESSIVE"
	org.eclipse.elk.direction="DOWN"/>
<s:low_priority_alias val="$dff" />
</s:properties>

from netlistsvg.

nturley avatar nturley commented on May 18, 2024

odd, I would've thought that would do something more interesting from the description.

from netlistsvg.

amstan avatar amstan commented on May 18, 2024

I can only assume I didn't enable it properly.

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.