diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-12-10 22:52:13 +0100 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-12-10 22:52:13 +0100 |
commit | 3e62434f8e19124cf124eb8dbc35be0c13e2b717 (patch) | |
tree | ac8d4f11669c7d48a399ec663fa9bfb330bd43af /tests/test_graphviz_1.c | |
parent | 429d5f88b94ff28416cbfc6420b6389fa284df97 (diff) |
Various fixes
Diffstat (limited to 'tests/test_graphviz_1.c')
-rw-r--r-- | tests/test_graphviz_1.c | 6 |
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); |