Open moamer-dev opened 1 year ago
Sorry again for the late response. You can pass ignore_properties
in the data-config
attribute of the div
element, see
https://github.com/OpenSemanticLab/mediawiki-extensions-InteractiveSemanticGraph/blob/2e7b00dbdcdaa28b1281bf4d98e3ffbeeb153f9c/modules/ext.InteractiveSemanticGraph/InteractiveSemanticGraph.js#L57-L57
Example:
<div class="InteractiveSemanticGraph" data-config='{"properties": [...], "ignore_properties": [...]}'></div>
The display name of the properties is unfortunatly not respected
How can I limit the number of properties shown in the right click menu or show specific options for a user? Also when change the properties label using [[Has preferred property label::example@en]] it does not change the graph view properties label