Changed constructor of graphviemodel and it now uses a float instead of a bool