I am trying to create a graph using dot. However, it seems to not recognize attributes like fixed size. Hence, I am trying to add the graphviz library, but I do not know how to use the .deb file and use private libraries in C. here is my code, where the fixedsize attributes is not working. I want the text in the nodes to be adjusted and the node size to be the same.
digraph test
{
rankdir = LR;
"Activity" [shape=circle;fixedsize="true";width=.5;height=.5;fontsize=5];
"onCreate()" [shape=circle;fixedsize="true";width=.5;height=.5;fontsize=5];
"Activity" -> "onCreate()"
"onCreate()" [shape=circle;fixedsize="true";width=.5;height=.5;fontsize=5];
"onStart()" [shape=circle;fixedsize="true";width=.5;height=.5;fontsize=5];
"onCreate()" -> "onStart()"
"onStart()" [shape=circle;fixedsize="true";width=.5;height=.5;fontsize=5];
"onResume()" [shape=circle;fixedsize="true";width=.5;height=.5;fontsize=5];
"onStart()" -> "onResume()"
"Activity" [shape=circle;fixedsize="true";width=.5;height=.5;fontsize=5];
"Activity Running" [shape=circle;fixedsize="true";width=.5;height=.5;fontsize=5];
"Activity" -> "Activity Running"
}