mirror of
				https://github.com/ae-utbm/sith.git
				synced 2025-11-04 02:53:06 +00:00 
			
		
		
		
	Graph de famille en frontend (#820)
* Remove graphviz and use cytoscape.js instead * Frontend generated graphs * Make installation easier and faster * Better user experience * Family api and improved interface * Fix url history when using 0, improve button selection and reset reverse with reset button * Use klay layout * Add js translations and apply review comments
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							bf96d8a10c
						
					
				
				
					commit
					f624b7c66d
				
			@@ -89,7 +89,7 @@ function update_query_string(key, value, action = History.REPLACE, url = null) {
 | 
			
		||||
    if (!url){
 | 
			
		||||
        url = new URL(window.location.href);
 | 
			
		||||
    }
 | 
			
		||||
    if (!value) {
 | 
			
		||||
    if (value === undefined || value === null || value === "") {
 | 
			
		||||
        // If the value is null, undefined or empty => delete it
 | 
			
		||||
        url.searchParams.delete(key)
 | 
			
		||||
    } else if (Array.isArray(value)) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user