You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a blank node (bnode) with no type is rendered on the graph canvas, it has no icon. However, when the same node is selected, the details/properties panel shows the default icon. The icon display should be consistent between the two views.
The root cause is that the canvas icon rendering path (useBackgroundImageMap) only creates Cytoscape style selectors for vertex types that exist in the schema. Since "«No Type»" is a synthetic label assigned at runtime (vertex.ts:80-83) and isn't in the schema, no icon style is generated. The details panel uses useVertexPreferences() which always falls back to DEFAULT_ICON_URL regardless of schema presence.
Relevant code paths
Canvas: useGraphStyles → useBackgroundImageMap → renderNode (skips types not in schema)
Description
When a blank node (bnode) with no type is rendered on the graph canvas, it has no icon. However, when the same node is selected, the details/properties panel shows the default icon. The icon display should be consistent between the two views.
The root cause is that the canvas icon rendering path (
useBackgroundImageMap) only creates Cytoscape style selectors for vertex types that exist in the schema. Since"«No Type»"is a synthetic label assigned at runtime (vertex.ts:80-83) and isn't in the schema, no icon style is generated. The details panel usesuseVertexPreferences()which always falls back toDEFAULT_ICON_URLregardless of schema presence.Relevant code paths
useGraphStyles→useBackgroundImageMap→renderNode(skips types not in schema)VertexIcon→useVertexPreferences→ always returnsdefaultVertexPreferences.iconUrlEnvironment
Steps to Reproduce
Expected Behavior
The blank node should display the same default icon on both the canvas and the details panel.
Important
If you are interested in working on this issue, please leave a comment.
Tip
Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.