ontograf icon indicating copy to clipboard operation
ontograf copied to clipboard

OntoGraf doesn't refresh the canvas after a change in the active ontology

Open matthewhorridge opened this issue 7 years ago • 3 comments

As stated in the title. Furthermore, pressing "Clear" and then "adding" nodes back on to the view doesn't solve the problem.

matthewhorridge avatar Oct 17 '17 00:10 matthewhorridge

It appears that onto graph caches the set of active ontologies and this is not updated when this set changes see this code:

https://github.com/protegeproject/ontograf/blob/866cc3a4ed2a4aee45e638bbb636bf688d196d5e/src/main/java/org/protege/ontograf/common/ProtegeGraphModel.java#L89

matthewhorridge avatar Oct 17 '17 00:10 matthewhorridge

As a temporary workaround closing the Ontograf and then opening it forces a refresh. But I too hope this is fixed soon.

1Mark avatar Oct 23 '17 19:10 1Mark

as of 2021, this still happens, the workaround either close Protege and reopen it OR close OntoGraf tab and reopen it.

caiolopesdasilva avatar Apr 15 '21 08:04 caiolopesdasilva