Skip to content

Implement Bar ConnectionStyle for labels - #7739

Merged
dschult merged 7 commits into
networkx:mainfrom
dg-pb:bar_connection_syle_labels
Dec 11, 2024
Merged

dschult merged 7 commits into
networkx:mainfrom
dg-pb:bar_connection_syle_labels

Conversation

@dg-pb

@dg-pb dg-pb commented Nov 26, 2024 •

Copy link
Copy Markdown
Contributor

Closes: #7735

With this addition, all existing connection styles are supported for both fancy arrows and labels.

@rossbar rossbar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took the liberty of pushing up a few additional changes:

  1. I converted the failing example from #7735 into a very basic test.
  2. I took the opportunity to reorganize input validation (basically getting rid of the else).

Other than that, this LGTM - thanks @dg-pb for the quick turnaround!

@rossbar rossbar added the Visualization Related to graph visualization or layout label Dec 4, 2024

@dschult dschult left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dg-pb !!
This looks good to me.
The failure on the docs CI is not related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: Bug fix Visualization Related to graph visualization or layout

Development

Successfully merging this pull request may close these issues.

Inconsistent behaviour between connectionstyle bar and arc3 - "ValueError: too many values to unpack (expected 3)"

4 participants