From 93f20b1569fc0a828bedd76937bd4b53be5d545c Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Wed, 13 Nov 2019 15:29:38 +0000 Subject: [PATCH] modelGraph : display in Helvetica font git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5707 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- tools/modelGraph.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/modelGraph.php b/tools/modelGraph.php index 0a8f084..80db3d1 100755 --- a/tools/modelGraph.php +++ b/tools/modelGraph.php @@ -46,7 +46,10 @@ class modelgraph $tables[$table] = $this->db->getTableSchema ($table); } $d = "digraph G {\n"; - $d .= " node [shape=box];\n"; + $d .= " node [\n"; + $d .= " shape=box\n"; + $d .= " fontname = \"helvetica\"\n"; + $d .= " ];\n"; $d .= " rankdir=RL\n"; // Generate the tables objects with the fields