K
K
Kirill Petrov2018-07-03 17:47:45
PHP
Kirill Petrov, 2018-07-03 17:47:45

How to parse tree graphs correctly?

Greetings. I drew a graph here on the blocks.js
5b3b8b68d4e49536526384.png
library. As a result, I have 2 arrays. One is the blocks themselves and their description, the other is the links between the blocks.
I want to build logic according to the drawn graph, more precisely, that the logic would be generated based on the drawn graph. Tell me where to start, what to study, what steps need to be done here? I don’t know how to google it ...
I want to parse on the PHP backend

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question