Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved attribute handling in Graph.from_networkx #3432

Merged
merged 6 commits into from
Jan 27, 2019

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Jan 25, 2019

This PR improves Graph.from_networkx in a number of ways. First of all it makes sure that non-scalar attributes and indexes (e.g. lists, tuples or dictionaries) do not break the Graph. Secondly this PR will allow passing in a dictionary of node positions which is the canonical way to specify node positions in networkx.

  • Handle non-scalar attributes
  • Handle dictionary node positions

@philippjfr philippjfr added the type: enhancement Minor feature or improvement to an existing feature label Jan 25, 2019
@philippjfr
Copy link
Member Author

Merging to make sure the holoviews release is ready in time.

@philippjfr philippjfr merged commit 2aa0a25 into master Jan 27, 2019
@philippjfr philippjfr deleted the from_networkx_fixes branch April 29, 2019 11:25
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Minor feature or improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant