datagov-cz / ontoGrapher

Tento repozitář je udržován v rámci projektu OPZ č. CZ.03.4.74/0.0/0.0/15_025/0013983.
Mozilla Public License 2.0
2 stars 2 forks source link

Switching from compact to full view does not show properties #95

Closed martinnec closed 4 years ago

martinnec commented 4 years ago

When I switch to the compact view, properties ("typ vlastnosti") are hidden and binary relationships ("typ vztahu") are replaced with a UML association. When I switch back to the full view, properties are not shown - remain hidden. I have to place them to the canvas again. I do not see any possibility of how to show them where they were originally.

When I switch from full to compact, I get

image

When I switch to full back, I get

image

martinnec commented 4 years ago

And I noticed another problem here - as can be seen on the second screenshot, "má požadovanou kvalifikaci" is shown on the diagram but marked as hidden on the left.

bindeali commented 4 years ago

As of b2966b2, switching should show properties again.

psiotwo commented 4 years ago

I still experience strange behaviour - https://ontographer.netlify.app/?workspace=https://slovn%C3%ADk.gov.cz/datov%C3%BD/pracovn%C3%AD-prostor/pojem/metadatov%C3%BD-kontext/instance1771937413:

1) Full view - OK image

2) Removed extra point - OK image

3) Switched to compact - the property should not be shown image

4) Switched back to full - the point I removed in step 2 is there again image

bindeali commented 4 years ago

As of e894a89 this issue seems to be resolved (I have made changes to link vertex saving).

psiotwo commented 4 years ago

I can see the property types all the time. Which is currently OK, an improvement is needed here, as discussed in https://github.com/opendata-mvcr/ontoGrapher/issues/96.

So closing this one.