Gojs MindMap code

one of your Gojs diagrams named mind map.
Is the code object oriented totally? or the js used in it is procedural approach? @walter

The design of the API of GoJS is object-oriented and functional.

The JavaScript used to create diagram apps is partly declarative and partly event-driven, so it is best used in a somewhat functional manner.

so inshort the js used to create diagram apps is not object oriented?@walter

Since the GoJS API is object-oriented, I suppose any code using that API must be object-oriented.

Why do you care?

i am to teach my students a js procedural approach example so as i found no inheritance no encapsulation and no polymorphism or any OO approach other than just objects which seemed generic objects to me in your mind map js code . so i was thinking to show that as an example. @walter