sknetwork-team / scikit-network

Graph Algorithms
Other
606 stars 66 forks source link

SVG Bipartite Graph output is squished together #472

Closed scottagt closed 3 years ago

scottagt commented 3 years ago

Description

I generated a bipartite graph using the svg_bigraph function and the output is really difficult to see as all the nodes are squished together. I tried changing several parameters including width, height, scale, and margin but nothing spaced the nodes out better.

What I Did

PastedGraphic-1

tbonald commented 3 years ago

Thanks for the feedback. Have you tried to use the parameters position_row / position_col that specify the position of row / column nodes? Best.

scottagt commented 3 years ago

Hi Thomas,

I did see those but I wasn’t sure what the input should look like to it or how to go about generating such input. If you have any recommendations for that I’d be glad to try give it a shot.

Best, -Scott


From: Thomas Bonald notifications@github.com Sent: Tuesday, February 23, 2021 2:42:35 AM To: sknetwork-team/scikit-network Cc: Appling, Scott; Author Subject: Re: [sknetwork-team/scikit-network] SVG Bipartite Graph output is squished together (#472)

Thanks for the feedback. Have you tried to use the parameters position_row / position_col that specify the position of row / column nodes? Best.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/sknetwork-team/scikit-network/issues/472#issuecomment-783979005, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGFWLUC6V4SDQCA6G2LC7K3TANL6XANCNFSM4YBHDVUQ.

tbonald commented 3 years ago

Hi Scott, Actually, the parameter height should work. Have you tried high values (e.g., 1000 or 10,000)? Otherwise, please share your graph and I can try. Cheers.

scottagt commented 3 years ago

Hi Thomas, thanks for the guidance, I will give it a shot and see what happens. Best, -Scott

On Mar 1, 2021, at 2:24 AM, Thomas Bonald notifications@github.com<mailto:notifications@github.com> wrote:

Hi Scott, Actually, the parameter height should work. Have you tried high values (e.g., 1000 or 10,000)? Otherwise, please share your graph and I can try. Cheers.

tbonald commented 3 years ago

I presume that this issue is solved. Please open a new one if needed. Thanks!