writing relations (wip)

This commit is contained in:
NishiOwO 2025-04-12 16:38:25 +09:00
parent a4aca87b12
commit 9669d5648f
No known key found for this signature in database
GPG Key ID: 27EF69B208EB9343
2 changed files with 68 additions and 0 deletions

68
misc/relation.gv Normal file
View File

@ -0,0 +1,68 @@
digraph relation {
graph [
label = "GoldFish Engine Relation",
rankdir = LR,
nodesep = 1.1,
ranksep = 1.05
];
node [
shape = box
];
subgraph cluster_e {
label = "GoldFish Engine";
gf [
label = "gf_engine_t"
];
};
subgraph cluster_d {
label = "Drawing Interface";
dd [
label = "gf_draw_driver_t"
];
ddopengl [
label = "OpenGL"
];
dp [
label = "gf_draw_platform_t"
];
dpglx [
label = "GLX"
];
dpwgl [
label = "WGL"
];
dpglfw [
label = "GLFW"
];
dt [
label = "gf_draw_t"
];
};
subgraph cluster_g {
label = "Graphic";
gi [
label = "Graphic Inteface"
];
gui [
label = "GUI"
];
};
gf -> dt;
dt -> dd;
dt -> dp;
dp -> dd;
dd -> {ddopengl};
dp -> {dpglx dpwgl dpglfw};
dt -> gi;
dt -> gui;
gui -> gi;
}

BIN
misc/relation.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB