github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/ui/dashboard/src/components/dashboards/graphs/ForceDirectedGraph/index.tsx (about)

     1  import Graph from "../Graph";
     2  import { GraphProps, IGraph } from "../types";
     3  import { registerGraphComponent } from "../index";
     4  
     5  const ForceDirectedGraph = (props: GraphProps) => <Graph {...props} />;
     6  
     7  const definition: IGraph = {
     8    type: "graph",
     9    component: ForceDirectedGraph,
    10  };
    11  
    12  registerGraphComponent(definition.type, definition);
    13  
    14  export default definition;