question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Start and End Connection Directions Do not work with Ports

See original GitHub issue

Hello, I am using the Manhattan router to Programitically add Links between elements with Ports. I see that there are options to include startDirections and endDirections for a Link when using the Manhattan router. However, it looks like the arguments are for the element itself rather than its ports. Is there a way to specify links between two elements with Ports such that the link never overlaps the element itself?

Case in Point. Consider the logic domain example. I want to avoid situations like these where the links overlap the element itself.

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kumilinguscommented, May 31, 2022

There is a several issues with Manhattan router that we are trying to address in the #1647.

If you don’t want to exclude ends, you have move the ports closer to the edge of the shape (increasing the manhattan padding option might also help).

0reactions
marty0678commented, May 31, 2022

Interesting, thanks for the suggestion. That does technically work for the arrows, but the routes become quite undesirable of course now that they are going through their parent elements.

And the routing ends up having the line go straight up/down then 180ing to go back the other way after the padding pixels are finished which is a bit odd.

I’ll keep playing around with it. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding Port Forwarding- Beginners Guide
In this tutorial you will learn what port forwarding is,and how it is used to provide internet based devices to access Internal resources....
Read more >
USB port may stop working after you remove or insert a USB ...
Method 1: Use Device Manager to scan for hardware changes · Click Start, and then click Run. · Type devmgmt. · In Device...
Read more >
UPnP, Port Forwarding, and NAT Types - Bungie Help
NAT (Network Address Translation) works based on a player's UPnP or Port Forwarding setup and can open or restrict internet connections to ...
Read more >
How to Set Up Port Forwarding - Lifewire
Go to your router's port forwarding tools and open 88, 500, 3544, 4500 (for UDP), and 3074 (TCP). Go back to Settings >...
Read more >
TCP/IP Ports and Sockets Explained - Steve's internet Guide
However an IP address alone is not sufficient for running network applications, ... Each end of the connection will have a socket.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found