File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ export default function useModelStyle() {
7575 return modelSurfacesStyleStore . modelSurfaceVisibility ( id , component_id )
7676 } else if ( component_type === "Block" ) {
7777 return modelBlocksStyleStore . modelBlockVisibility ( id , component_id )
78+ } else if ( component_type === "Edge" ) {
79+ return modelEdgesStyleStore . modelEdgesVisibility ( id )
7880 }
7981 throw new Error ( "Unknown model component_type: " + component_type )
8082 }
@@ -127,6 +129,8 @@ export default function useModelStyle() {
127129 [ component_id ] ,
128130 visibility ,
129131 )
132+ } else if ( component_type === "Edge" ) {
133+ return modelEdgesStyleStore . setModelEdgesVisibility ( id , visibility )
130134 } else {
131135 throw new Error ( "Unknown model component_type: " + component_type )
132136 }
You can’t perform that action at this time.
0 commit comments