This commit is contained in:
Tiago Batista Cardoso
2026-02-28 11:10:17 +01:00
parent 2736884f46
commit 500e03af35
10 changed files with 508 additions and 28 deletions

View File

@@ -1,4 +1,17 @@
//
// Created by Tiago Batista Cardoso on 2/23/2026.
//
#ifndef GRAPHE_RENDER_H
#define GRAPHE_RENDER_H
#include "structs.h"
#include <SDL2/SDL_render.h>
void render_graph(SDL_Renderer *renderer, const graph_t *graph);
enum VISUALIZATION_TYPE { CLIQUE, LOUVAIN };
typedef enum VISUALIZATION_TYPE VISUALIZATION_TYPE;
void render_graph(SDL_Renderer *renderer, const graph_t *graph,
VISUALIZATION_TYPE);
#endif