Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Feature/27 add layout support#28

Merged
boludo00 merged 3 commits intomasterWestHealth/pyvis:masterfrom
feature/27-add-layout-supportWestHealth/pyvis:feature/27-add-layout-supportCopy head branch name to clipboard
Mar 12, 2019
Merged

Feature/27 add layout support#28
boludo00 merged 3 commits intomasterWestHealth/pyvis:masterfrom
feature/27-add-layout-supportWestHealth/pyvis:feature/27-add-layout-supportCopy head branch name to clipboard

Conversation

@boludo00
Copy link
Collaborator

referring to #25
This PR introduces option to display graphs in hierarchical fashion during construction of network

Example

import networkx as nx
from pyvis.network import Network

g = Network(layout=True)
nxg = nx.random_tree(100)
g.from_nx(nxg)
g.show("tree.html")

This results in something like

100

@boludo00 boludo00 merged commit e218440 into master Mar 12, 2019
@boludo00 boludo00 deleted the feature/27-add-layout-support branch March 12, 2019 23:22
ceandrade pushed a commit to ceandrade/pyvis that referenced this pull request Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.