Skip to content

Update object layout when browser window is resized #15

@nylen

Description

@nylen

Something like this maybe:

 $(window).on('resize', function() {
    var graphWidth, graphHeight;
    // compute graphWidth, graphHeight
    graph.force.size([graphWidth, graphHeight]);
    graph.force.start();
});

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions