text: import React from 'react';
  import './App.css';
  import './style.css';
  import GraphVizComponent from "./components/GraphVizComponent.js";
  import RefGraphInfo from "./components/RefGraphInfo.js";
  import { BrowserRouter, Route, Switch, Redirect, HashRouter } from "react-router-dom";
  import Navbar from './Nav';
  
  function App() { 
    return (
      <div>
        <Navbar />
            <BrowserRouter>
              <div>
                  <Switch>
                    <HashRouter basename={process.env.PUBLIC_URL}>
                      <Route exact path="/:owner/:project/:id/info" component={RefGraphInfo} />
                      <Route exact path="/:owner/:project/:id" component={GraphVizComponent} />
                      <Route exact path="/">
                        <Redirect from="/" exact to="/elastic/elasticsearch/713"/>
                      </Route>
                    </HashRouter>
                  </Switch>
              </div>
            </BrowserRouter>
      </div>
  
    );
  }
  
  
  export default App;
  