better names for variables and reduced radius for weights values (for bigger graphs)
removed id and compacted buttons
navbar replaced by button