protegeproject / ontograf

Protege Desktop plug-in that allows visual, interactive navigation of the relationships in OWL ontologies.
18 stars 7 forks source link

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

Open matthewhorridge opened 6 years ago

matthewhorridge commented 6 years ago

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

matthewhorridge commented 6 years ago

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

1Mark commented 6 years ago

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

caiolopesdasilva commented 3 years ago

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