summaryrefslogtreecommitdiff
path: root/tests/test_graphviz_1.c
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-12-10 22:52:13 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-12-10 22:52:13 +0100
commit3e62434f8e19124cf124eb8dbc35be0c13e2b717 (patch)
treeac8d4f11669c7d48a399ec663fa9bfb330bd43af /tests/test_graphviz_1.c
parent429d5f88b94ff28416cbfc6420b6389fa284df97 (diff)
Various fixes
Diffstat (limited to 'tests/test_graphviz_1.c')
-rw-r--r--tests/test_graphviz_1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_graphviz_1.c b/tests/test_graphviz_1.c
index 9199b25..2e26c37 100644
--- a/tests/test_graphviz_1.c
+++ b/tests/test_graphviz_1.c
@@ -10,15 +10,15 @@ int main(int argc, char *argv[])
gvc = gvContext ();
graph = agopen ("graph", Agdirected, NULL);
- node1 = agnode(graph, "node1", TRUE);
+ node1 = agnode(graph, "node1", 1);
agsafeset (node1, "width", "1", "");
agsafeset (node1, "height", "1", "");
- node2 = agnode(graph, "node2", TRUE);
+ node2 = agnode(graph, "node2", 1);
agsafeset (node2, "width", "1", "");
agsafeset (node2, "height", "1", "");
- edge1 = agedge(graph, node1, node2, "edge1", TRUE);
+ edge1 = agedge(graph, node1, node2, "edge1", 1);
puts ("---------- initially ----------");
agwrite (graph, stdout);