1. A data processing apparatus, comprising: a data analyzer configured to analyze input data comprising a graph structure, and to verify at least one of a precondition and a post-condition of each node included in the input data; an interface generator configured to allocate one or more interfaces comprising a different type of interface for each type of precondition and post-condition; and a display unit configured to visualize and display the input data based on the one or more allocated interfaces.