We derive a formula for the level spacing probability distribution in quant
um graphs. We apply it to simple examples and we discuss its relation with
previous work and its possible application in more general cases. Moreover,
we derive an exact and explicit formula for the level spacing distribution
of integrable quantum graphs.