aiidalab / aiidalab/aiidalab-widgets-base

StructureViewerWidget - add the possibility to restore the view

Offen
#45 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
10
Forks
19
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
20

Beschreibung

I did not try it yet, but I think exactly the same representation can be recovered in the following way:

```
state = vwr._viewer.get_state()
vwr._viewer.set_state(state)
```

could be a nice feature to save the representation as a JSON file to later reuse it for restoring exactly the same view.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.