Skip to content

Loading a graph from a file does not replace current graph #15

@Jackymancs4

Description

@Jackymancs4

Describe the bug
Loading a graph from a file does not replace current graph.
It's not really a problem but the tooltip says it does.

To Reproduce
Steps to reproduce the behavior:

  1. Add a node
  2. Save the graph
  3. Click the "Load a graph from file"
  4. See that it straight up add the graph to what is already present.

Expected behavior
It should clear the current graph.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • Version master

Additional context
The behavior is ok with me. In case the following line should be amended:

putValue(SHORT_DESCRIPTION,"Load a graph from a file. Completely replaces the current graph.");

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions