> Can we simulate a network (with some nodes and
> connections between nodes)? I think for simulating a
> network we construct a graph with nodes and
> vertices.
> If we can do the above, can we simulate the action of
> sending packets between the nodes?
>
> Can we do this in java?
Yes.