Skip to content

Combining code from Drag n drop demo with Controls demo can exclude dragged nodes from view after the See whole graph button in Zoom control is clicked. #62

@willynilly

Description

@willynilly

Guidelines

Please note that GitHub issues are only meant for bug reports/feature requests.
If you have questions on how to use React & Sigma.js, please ask on StackOverflow instead of creating an issue here.

To help us understand your issue, please specify important details, primarily:

  • React-sigma-v2 version: 3.4.2
  • Sigma.js version : 2.4.0
  • Graphology version : 0.25.1"
  • Operating system: Windows
  • Web browser: 122.0.6261.112
  • Steps to reproduce
  • Expected behavior
  • -Clicking on See whole graph button in a Zoom control should zoom to include all nodes in the view after dragging a node out of the view. This is a bug with the Drag N Drop example. I added this code as well as the Zoom control, and this problem occurs.
  • Actual behavior
    • Clicking the See whole graph button excludes certain nodes from the view.

Additionally, include (as appropriate) console logs, stacktraces, screenshots, and other debug info.

Here's my pull request with the fix: #61

We recommend you to create a live example of your issue on CodeSandbox so we can reproduce it.

Example bug report

Modification of the node default color in the settings has no effect

React-sigma-v2: 0.0.5
Sigma.js version: 2.0.0-alpha40
Graphology version: 0.19.2
Operating System: Ubuntu 15.10
Web browser: Firefox 82.0.2

Steps to reproduce

Check the live example https://codesandbox.io/s/XXXX

Expected behavior

Nodes should be displayed in red

Actual behavior

Nodes are displayed in black

Note

If the issue has an inactivity of 30 days, it becomes stale.
With an additional inactivity of 14 days, the issue is closed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions