Interactive MiniMap not working with custom nodes and edges #1244
              
                
                  
                  
                    Answered
                  
                  by
                    gitHoussem
                  
              
          
                  
                    
                      gitHoussem
                    
                  
                
                  asked this question in
                Q&A
              
            -
| Hello, Below is my template code <VueFlow
    v-model="elements"
    class="basicflow"
    fit-view-on-init
    :delete-key-code="null"
    :min-zoom="0"
    :max-zoom="4"
    :edges-updatable="false"
    :nodes-connectable="false"
    :default-edge-options="customEdgeStyling"
    :selection-mode="SelectionMode.Partial"
    :elements-selectable="isMultipleNodeSelectionActive"
    :selection-key-code="dragAndSelectKey"
    :multi-selection-key-code="clickAndMultipleSelectKey"
    @nodeDrag="onNodeDrag">
    <!-- Nodes Definition -->
    <template #node-custom="node">
      <!--  Node Container used to display the group selection style status -->
      <div>
        <!-- Used for the normal/internal tables -->
        <TableNode
          v-if="isTableVisible(node)"
          :nodeID="node.id"
          :allow-right-click-events="true"/>
        <!-- Used for the non project/external tables -->
        <SimpleNode v-else-if="isExternalTableVisible(node)" :nodeID="node.id" />
        <!-- Used for the 2nd relation level tables -->
        <SimpleNode :nodeID="node.id" v-else-if="isTable2ndLevelAndVisible(node)" />
      </div>
    </template>
    <!-- Edges Definition -->
    <template #edge-custom="edge">
      <RelationshipEdge v-bind="edge" v-if="isEdgeVisible(edge)" />
    </template>
    <MiniMap pannable zoomable node-color="#0096FF" />
  </VueFlow>No error is showing on the console interactive.minimap.mp4 | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            gitHoussem
          
      
      
        Mar 13, 2024 
      
    
    Replies: 1 comment 4 replies
-
| Could you try binding it explicitly like  | 
Beta Was this translation helpful? Give feedback.
                  
                    4 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
I found the issue in case it might help others in the future. I had coded a custom edge and put this in the css
This property prevents the element from receiving mouse events