如何实现节点多选 #1866
              
                
                  
                  
                    Answered
                  
                  by
                    bcakmakoglu
                  
              
          
                  
                    
                      ddeerdevil
                    
                  
                
                  asked this question in
                Q&A
              
            
            
              如何实现节点多选
            
            #1866
          
          
        -
| 我这样实现多选,但不生效,请问该如何实现? `  | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            bcakmakoglu
          
      
      
        Jun 6, 2025 
      
    
    Replies: 1 comment 3 replies
-
| Idk what exactly the question here is since I speak no Chinese at all 😅 | 
Beta Was this translation helpful? Give feedback.
                  
                    3 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
@ddeerdevil
Assuming what @OldFarmer86 says is correct and that is your question you have two options and you set both of them to
nulleffectively disabling multi selection through interactions.selectionKeyCode- you can set this to either a key, key combination or justtrue:1.1. Using a key or key combination will activate the selection box which you can then draw by using a click+drag action
1.2. Using
truewill signal that this key is always active, allowing you to draw the selection box without an additional key press and just by click+drag actionsmultiSelectionKeyCodeallows you to select multiple elements by keeping the key pressed and clicking each element (node/edge) you want …