With the development of resource-saving and environment-friendly concepts, lightweight, high-strength, high-performance and low-consumption structures have become a design trend. Topology optimization, as an optimization design method, can achieve the optimal performance of structures under the satisfaction of constraints, and has been widely used and concerned in many fields. This paper discusses the application of topology optimization algorithms in landscape design and spatial layout planning. The optimal design of node structure is realized by establishing a multi-scale model and a topology optimization method applicable to spatial structure. The study adopts the SIMP interpolation model in the variable density method, takes the minimum structural strain energy as the optimization objective, and constrains the volume ratio before and after optimization. In the multicase analysis, the flexibility value of the optimized node under the 30% volume constraint is lower than that of the original node in most of the cases, and the final flexibility of Case 3 is 9.18 mm, which is improved by 28.8% compared with that of the original node; and in the case of the similar material usage (volume of the optimized node 7,652 cm³, volume of the original node 7,450 cm³) In the case of similar material usage (optimized node volume 7652cm³, original node volume 7450cm³), the optimized node reduces the flexibility value by 8.2% in Case 4, and the structural stiffness is significantly improved. The design scheme generated by topology optimization not only meets the engineering requirements, but also presents the characteristics of bionic organic structure and the aesthetics of flowing space, which provides new ideas and methods for landscape design and spatial layout planning.