Skip to content

Rendering a simple graph? #8

Description

@jeffalstott

Thanks for this great code! We have been discussing it over at wrobstory/vincent#96

How would one render a simple, static graph? Ideally something like:

    g = networkx.erdos_renyi(100,.1)
    render(g)

Unfortunately, even using the "demo simple" notebook it appears I can't
even do:

    g = networkx.erdos_renyi(100,.1)
    G = EventfulGraph(g)
    d3 = ForceDirectedGraphWidget(G)
    floating_container.children = [d3]
    display(floating_container)

I understand I could do:

    G = EventfulGraph()

and build the network I want from there "manually", but that's painful and sometimes impractical.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions