Drawing graph in processing

Does anybody kwoh how to display realtime graph in processing?

What do you mean by realtime graph? Processing refreshes it's graphics every 25 times per second, so it should be good for your purpose. What exactly do you want to do?