add functions to hide nodes and edges
try out appear/fade nodes and edges with animation
fix the duplicated nodes
show only connected nodes if over max_node_number
make links to toggle full and reduced graph
better to add reduced_elements into helper
change a function name
possible to force max node
correct fix to matching_models
change some code bit
remove javascript code
dont use animation for appearing and fading nodes/edges
set max_node_number to 10
fix sorting
put back code for model page
use === and !== to compare also type
add semi colon
move drawGraph and some variables from partial to js file
move also $j
remove duplicated variable