The invention provides an
interaction method and device supporting infinite nesting
data structure visualization, and relates to the technical field of
data structure visualization and man-
machine interaction collaborative modeling. The method comprises the steps that recursive rendering of type
perception is executed in response to a
data structure loading event, and a nested graph with a clear hierarchical topology is generated; providing a double-input mode of an expression mode and a fixed value mode for basic type nodes, and realizing accurate binding of array variables through a special binding button, an intelligent array selector and a node type
label identification and single-selection constraint mechanism under the expression mode; and starting a double-layer recursive
verification process driven by a root node during submitting, and performing upward aggregation propagation and
visual feedback on a
verification result along a parent path. According to the method, the rendering performance and interactive user experience of the deep
nested data structure are improved, real-time infinite
recursion operation is supported, and the problems that topology is not visual, binding is prone to errors,
verification is low in efficiency and the like in complex data structure
visualization of a traditional tool are effectively solved.