draw simple graph