R – graphviz : dynamically creation of node

graphviz

i m writing a program such that it requires no of nodes to be control by some variable.
is there any way by which we can draw nodes dynamically if no, of nodes is not decided while writing a code?

Best Answer

Write your program in such a way that it accepts a parameter and tell graphviz to create as many nodes as the parameter says.

Related Topic