Write the strict keyword when !isMultigraph