Skip to content

Rendering a simple graph? #8

@jeffalstott

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.

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