{"id":303698,"date":"2020-05-16T03:00:09","date_gmt":"2020-05-16T03:00:09","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=303698"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=303698","title":{"rendered":"\u041a\u0430\u043a \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0433\u0440\u0430\u0444 Spring Integration \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Neo4j?"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/502256\/\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vt\/cj\/m6\/vtcjm6jzntolnnygzpx3bkqiqtg.png\"><\/p>\n<p>  <\/p>\n<p>\u0424\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a Spring Integration <a href=\"https:\/\/docs.spring.io\/spring-integration\/docs\/5.2.5.RELEASE\/reference\/html\/system-management.html#integration-graph\" rel=\"nofollow\">\u0443\u043c\u0435\u0435\u0442<\/a> \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 <a href=\"https:\/\/www.enterpriseintegrationpatterns.com\/\" rel=\"nofollow\">EIP<\/a>-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0438 \u0438\u0445 \u0441\u0432\u044f\u0437\u0435\u0439 \u0432 \u0432\u0438\u0434\u0435 JSON-\u0433\u0440\u0430\u0444\u0430. \u042d\u0442\u043e \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u0434\u043b\u044f \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0438, \u043d\u043e \u0443\u0432\u044b, \u043d\u0438 \u043e\u0434\u0438\u043d \u0438\u0437 \u043d\u0430\u0433\u0443\u0433\u043b\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 (\u043a\u043e\u0438\u0445 \u0432\u0441\u0435\u0433\u043e-\u0442\u043e <a href=\"https:\/\/github.com\/spring-projects\/spring-flo\/tree\/angular-1.x\/samples\/spring-flo-si\" rel=\"nofollow\">\u0440\u0430\u0437<\/a> \/<a href=\"https:\/\/ordina-jworks.github.io\/architecture\/2018\/01\/27\/Visualizing-your-Spring-Integration-components-and-flows.html\" rel=\"nofollow\">\u0434\u0432\u0430<\/a>) \u043d\u0435 \u0434\u0430\u0451\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e\u0439 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u0438 \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0442\u0430\u043a\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0430. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u043e\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0440\u0435\u0448\u0438\u0442\u044c \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043f\u0443\u0442\u0435\u043c \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u0433\u0440\u0430\u0444\u0430 \u0432 \u0433\u0440\u0430\u0444\u043e\u0432\u0443\u044e \u0421\u0423\u0411\u0414 <a href=\"https:\/\/neo4j.com\/\" rel=\"nofollow\">Neo4j<\/a>, \u0433\u0434\u0435 \u0442\u0430\u043a\u0430\u044f \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c \u0441\u0442\u043e\u0438\u0442 \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u043c\u0435\u0441\u0442\u0435.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<h3 id=\"koroche-tldr\">\u041a\u043e\u0440\u043e\u0447\u0435 (tl;dr)<\/h3>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u043a\u0440\u0430\u0442\u0446\u0435, \u0442\u043e \u0432\u043e\u0442 \u0447\u0442\u043e \u043d\u0430\u0434\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c:<\/p>\n<p>  <\/p>\n<ol>\n<li>\u041e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u043e\u0442\u0434\u0430\u0447\u0443 \u0433\u0440\u0430\u0444\u0430 \u0432 \u0432\u0438\u0434\u0435 JSON \u043f\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u043c\u0443 URL.<\/li>\n<li>\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c <a href=\"https:\/\/toparvion.pro\/post\/2020\/integraph\/export\/integraph.cypher\" rel=\"nofollow\">\u044d\u0442\u043e\u0442<\/a> Cypher-\u0437\u0430\u043f\u0440\u043e\u0441 \u0432 Neo4j Browser, \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u0432 \u0442\u0443\u0434\u0430 URL.<\/li>\n<\/ol>\n<p>  <\/p>\n<p>\u041d\u0443, \u0430 \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a \u043d\u0435 \u0437\u0430\u0432\u0435\u043b\u043e\u0441\u044c \u0438\u043b\u0438 \u0441\u0442\u0430\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438, \u0442\u043e \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0426\u0435\u043b\u0435\u0432\u0430\u044f \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u044f<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p>\u0421\u0442\u0430\u0442\u044c\u044f \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d\u0430 \u043d\u0430 \u0442\u0435\u0445, \u043a\u0442\u043e \u0437\u043d\u0430\u043a\u043e\u043c \u0441 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 Spring \u0438 \u0438\u043c\u0435\u0435\u0442 \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e \u0433\u0440\u0430\u0444\u043e\u0432\u043e\u0439 \u0421\u0423\u0411\u0414 Neo4j \u0438 \u0435\u0451 \u044f\u0437\u044b\u043a\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 Cypher. \u041d\u043e \u0435\u0441\u043b\u0438 \u043d\u0435\u0442, \u043d\u0435 \u0431\u0435\u0434\u0430 \u2013 \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 \u0435\u0441\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043f\u043e\u044f\u0441\u043d\u044f\u044e\u0449\u0438\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438.<\/p>\n<\/div><\/div>\n<p>  <\/p>\n<h3 id=\"kak-poluchit-opisanie-grafa-v-json\">\u041a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0433\u0440\u0430\u0444\u0430 \u0432 JSON?<\/h3>\n<p>  <\/p>\n<p>\u0415\u0441\u0442\u044c 2 \u043d\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0438\u0441\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u0430:<\/p>\n<p>  <\/p>\n<ol>\n<li>\u0415\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043c\u043e\u0434\u0443\u043b\u044c <code>spring-integration-http<\/code> (\u0438\u043b\u0438 <code>spring-integration-webflux<\/code>), \u0442\u043e \u0433\u0440\u0430\u0444 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c, \u0434\u0451\u0440\u043d\u0443\u0432 <a href=\"https:\/\/docs.spring.io\/spring-integration\/docs\/5.2.5.RELEASE\/reference\/html\/system-management.html#integration-graph-controller\" rel=\"nofollow\">Integration Graph Controller<\/a>.<\/li>\n<li>\u0415\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043c\u043e\u0434\u0443\u043b\u044c <code>spring-integration-core<\/code> <strong>\u0432\u043c\u0435\u0441\u0442\u0435<\/strong> \u0441\u043e Spring Boot Actuator, \u0442\u043e \u0433\u0440\u0430\u0444 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0435\u0433\u043e endpoint \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <a href=\"https:\/\/docs.spring.io\/spring-boot\/docs\/2.2.5.RELEASE\/reference\/html\/production-ready-features.html#production-ready-endpoints\" rel=\"nofollow\">integrationgraph<\/a> (\u043a\u043e\u0442\u043e\u0440\u044b\u0439 <a href=\"https:\/\/docs.spring.io\/spring-boot\/docs\/2.2.5.RELEASE\/reference\/html\/production-ready-features.html#production-ready-endpoints-exposing-endpoints\" rel=\"nofollow\">\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e<\/a> \u043d\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0447\u0435\u0440\u0435\u0437 web).<\/li>\n<\/ol>\n<p>  <\/p>\n<p>\u0412 \u043e\u0431\u043e\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043e\u0442\u0432\u0435\u0442 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<pre><code class=\"json\">{   &quot;contentDescriptor&quot;: {     &quot;providerVersion&quot;: &quot;5.2.4.RELEASE&quot;,     &quot;providerFormatVersion&quot;: 1.1,     &quot;provider&quot;: &quot;spring-integration&quot;,     &quot;name&quot;: &quot;analog&quot;   },   &quot;nodes&quot;: [     {       &quot;nodeId&quot;: 3,       &quot;componentType&quot;: &quot;ExecutorSubscribableChannel&quot;,       &quot;name&quot;: &quot;brokerChannel&quot;     },     \/\/ ...   ],   &quot;links&quot;: [     {       &quot;from&quot;: 19,       &quot;to&quot;: 8,       &quot;type&quot;: &quot;output&quot;     },     \/\/ ...   ] }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u0430 \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u043e\u0442\u0432\u0435\u0442\u0430 \u0432\u0441\u0435\u0433\u0434\u0430 \u0442\u043e\u043b\u044c\u043a\u043e 3 \u043f\u043e\u043b\u044f:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u041e\u0431\u044a\u0435\u043a\u0442 <code>contentDescriptor<\/code> \u2013 \u043e\u0431\u0449\u0438\u0439 \u043e\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c \u0433\u0440\u0430\u0444\u0430; \u043f\u043e\u043b\u0435 <code>name<\/code> \u0432 \u043d\u0451\u043c \u0431\u0435\u0440\u0435\u0442\u0441\u044f \u0438\u0437 \u0438\u043c\u0435\u043d\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f (\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <code>spring.application.name<\/code>).<\/li>\n<li>\u041c\u0430\u0441\u0441\u0438\u0432 <code>nodes<\/code> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u0435\u0440\u0448\u0438\u043d \u0433\u0440\u0430\u0444\u0430 \u2013 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e EIP-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432, \u0431\u0438\u043d\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440. \u041d\u0430\u0440\u044f\u0434\u0443 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <code>name<\/code>, \u0442\u0438\u043f\u043e\u043c <code>componentType<\/code> \u0438 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u043c <code>nodeId<\/code>, \u0432 \u043d\u0435\u0433\u043e \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0433\u0443\u0442 \u0432\u0445\u043e\u0434\u0438\u0442\u044c \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043d\u043e \u043d\u0430\u0441 \u043e\u043d\u0438 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442.<\/li>\n<li>\u041c\u0430\u0441\u0441\u0438\u0432 <code>links<\/code> \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0440\u0451\u0431\u0440\u0430 \u0433\u0440\u0430\u0444\u0430, \u0442.\u0435. \u0441\u0432\u044f\u0437\u0438 \u043c\u0435\u0436\u0434\u0443 EIP-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u043c\u0438. \u041f\u043e\u043b<em>\u044f<\/em> <code>from<\/code> \u0438 <code>to<\/code> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043d\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <code>nodeId<\/code> \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0438 \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u0410 \u043f\u043e\u043b\u0435 <code>type<\/code> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0442\u0438\u043f \u0441\u0432\u044f\u0437\u0438, \u0438\u0445 \u0432\u0441\u0435\u0433\u043e 5: <code>input<\/code>, <code>output<\/code>, <code>route<\/code>, <code>error<\/code>, <code>discard<\/code>.<\/li>\n<\/ul>\n<p>  <\/p>\n<p><em>\u041a\u0430\u043d\u0430\u043b\u044b (\u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u0445 EIP) <strong>\u043d\u0435<\/strong> \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0440\u0451\u0431\u0440\u0430\u043c\u0438 \u0432 \u0433\u0440\u0430\u0444\u0435!<\/em><br \/>  \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u043e\u043d\u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0442\u0430\u043a\u0438\u043c\u0438 \u0436\u0435 \u0432\u0435\u0440\u0448\u0438\u043d\u0430\u043c\u0438, \u043a\u0430\u043a \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u044b \u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u044b, \u0440\u0430\u0437\u0432\u0435 \u0447\u0442\u043e \u0438\u0445 <code>componentType<\/code> \u043e\u0431\u044b\u0447\u043d\u043e \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u043e\u0432\u043e\u043c <em>channel<\/em>.<\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043c\u043e\u0434\u0435\u043b\u044c \u0433\u0440\u0430\u0444\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0432 <a href=\"https:\/\/docs.spring.io\/spring-integration\/docs\/5.2.5.RELEASE\/reference\/html\/system-management.html#integration-graph\" rel=\"nofollow\">\u044d\u0442\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435<\/a> \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043d\u0430 Spring Integration.<\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041e \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u0438<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u043e \u0442\u0435\u043a\u0441\u0442\u0443 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0433\u0440\u0430\u0444\u0430 \u0431\u0443\u0434\u0443\u0442 \u0447\u0430\u0441\u0442\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u201c\u0443\u0437\u043b\u0430\u043c\u0438\u201d, \u0430 \u0440\u0451\u0431\u0440\u0430 \u2013 \u201c\u0441\u0432\u044f\u0437\u044f\u043c\u0438\u201d, \u0447\u0442\u043e\u0431\u044b \u0431\u043e\u043b\u0435\u0435 \u044f\u0432\u043d\u043e \u0441\u0441\u044b\u043b\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043d\u0443\u044e \u043e\u0431\u043b\u0430\u0441\u0442\u044c: \u043c\u0430\u0441\u0441\u0438\u0432\u044b <code>nodes<\/code> \u0438 <code>links<\/code> \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u0421\u043c\u044b\u0441\u043b\u043e\u0432\u044b\u0445 \u043e\u0442\u043b\u0438\u0447\u0438\u0439 \u0432 \u044d\u0442\u0438\u0445 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u0445 \u043d\u0435\u0442.<\/p>\n<\/div><\/div>\n<p>  <\/p>\n<h4 id=\"na-vsyakiy-sluchay\">\u041d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439<\/h4>\n<p>  <\/p>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u0434\u0451\u0440\u0433\u0430\u0442\u044c \u0433\u0440\u0430\u0444 \u043f\u0440\u044f\u043c\u043e \u0438\u0437 Neo4j, \u043d\u0430\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0435\u0433\u043e \u0447\u0435\u043c-\u0442\u043e \u043f\u043e\u043f\u0440\u043e\u0449\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0431\u044b\u0447\u043d\u044b\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c, \u043f\u0435\u0440\u0435\u0439\u0434\u044f \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 <a href=\"http:\/\/localhost:8080\/actuator\/integrationgraph\" rel=\"nofollow\">http:\/\/localhost:8080\/actuator\/integrationgraph<\/a> (\u0434\u043b\u044f \u0441\u043b\u0443\u0447\u0430\u044f \u0441\u043e Spring Boot Actuator). \u0415\u0441\u043b\u0438 \u043e\u0442\u0432\u0435\u0442 \u043d\u0435 \u043f\u043e\u0445\u043e\u0436 \u043d\u0430 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0432\u044b\u0448\u0435 JSON, \u0442\u043e \u043d\u0435\u0442 \u0441\u043c\u044b\u0441\u043b\u0430 \u0434\u0432\u0438\u0433\u0430\u0442\u044c\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435, \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0437\u0434\u0435\u0441\u044c.<\/p>\n<p>  <\/p>\n<p>\u0427\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043b\u0438\u0431\u043e \u0432 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f\u0445 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/Cross-origin_resource_sharing\" rel=\"nofollow\">CORS<\/a>, \u043b\u0438\u0431\u043e \u0432 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u0438 \u043e\u0442\u0434\u0430\u044e\u0449\u0435\u0433\u043e \u0433\u0440\u0430\u0444 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430. \u0415\u0441\u043b\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 Spring Boot (+Actuator) \u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e, \u0442\u043e \u043e\u0431\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0432 \u0435\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 <a href=\"https:\/\/docs.spring.io\/spring-boot\/docs\/2.2.5.RELEASE\/reference\/html\/production-ready-features.html#production-ready-endpoints-cors\" rel=\"nofollow\">\u0441\u0442\u0440\u043e\u043a<\/a>:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">management:   endpoints:     web:       exposure:         include: '*'       cors:         allowed-origins: '*'         allowed-methods: '*'<\/code><\/pre>\n<p>  <\/p>\n<p><em>(\u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u043d\u0430\u0434\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a \u043d\u0430 production!)<\/em><\/p>\n<p>  <\/p>\n<p>\u0410 \u0435\u0441\u043b\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c Spring Integration, \u0442\u043e \u0441\u043c. \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438 \u043d\u0430 <a href=\"https:\/\/docs.spring.io\/spring-integration\/docs\/5.2.5.RELEASE\/reference\/html\/system-management.html#integration-graph-controller\" rel=\"nofollow\">\u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435<\/a> \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<p>  <\/p>\n<h3 id=\"kak-importirovat-graf-v-neo4j\">\u041a\u0430\u043a \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0433\u0440\u0430\u0444 \u0432 Neo4j?<\/h3>\n<p>  <\/p>\n<h4 id=\"vhodnye-trebovaniya\">\u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f<\/h4>\n<p>  <\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u043b\u0438\u0442\u044c \u0433\u0440\u0430\u0444 \u0432 Neo4j, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f 2 \u0432\u0435\u0449\u0438:<\/p>\n<p>  <\/p>\n<ol>\n<li>\n<p>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e <strong>\u0421\u0423\u0411\u0414 Neo4j<\/strong> <em>(\u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e, \u043f\u0440\u0430\u0432\u0434\u0430?)<\/em><br \/>  \u041f\u043e\u0434\u043e\u0439\u0434\u0451\u0442 \u043b\u044e\u0431\u0430\u044f \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0430:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u041d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u0430\u044f <a href=\"https:\/\/neo4j.com\/download-center\/#desktop\" rel=\"nofollow\">Neo4j Desktop<\/a><\/li>\n<li>\u0421\u0435\u0440\u0432\u0435\u0440\u043d\u0430\u044f <a href=\"https:\/\/neo4j.com\/download-center\/#community\" rel=\"nofollow\">Neo4j Community Server<\/a><\/li>\n<li>\u041e\u0431\u043b\u0430\u0447\u043d\u0430\u044f \u043f\u0435\u0441\u043e\u0447\u043d\u0438\u0446\u0430 <a href=\"https:\/\/neo4j.com\/sandbox\/\" rel=\"nofollow\">Neo4j Sandbox<\/a><br \/>  <em>\u041d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0438\u043d\u0441\u0442\u0430\u043b\u043b\u044f\u0446\u0438\u0438<\/em><\/li>\n<\/ul>\n<p>  <\/li>\n<li>\n<p>\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 Cypher-\u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440 <strong>APOC<\/strong><\/p>\n<p>  <\/p>\n<p>\u042d\u0442\u043e \u0434\u0435-\u0444\u0430\u043a\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043e\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 Neo4j, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0451 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u044f\u043c\u043e \u0441 \u0438\u0445 <a href=\"https:\/\/neo4j.com\/docs\/labs\/apoc\/current\/introduction\/#installation\" rel=\"nofollow\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430<\/a>. \u0412 \u043e\u0431\u043b\u0430\u0447\u043d\u043e\u0439 \u043f\u0435\u0441\u043e\u0447\u043d\u0438\u0446\u0435 Neo4j Sandbox \u043e\u043d\u0430 \u0443\u0436\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430.<\/p>\n<p>  <\/li>\n<\/ol>\n<p>  <\/p>\n<p>\u041f\u0440\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c Neo4j \u0432\u0435\u0440\u0441\u0438\u0438 <strong>4.0.1<\/strong>, \u043d\u043e \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043d\u0430 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0421\u0423\u0411\u0414 \u043c\u044b \u0437\u0434\u0435\u0441\u044c \u043d\u0435 \u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c\u0441\u044f, \u0432\u0441\u0451 \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0438 \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445. \u041f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 APOC \u0432\u0430\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0432\u044b\u0435 2 \u0446\u0438\u0444\u0440\u044b \u0435\u0451 \u0432\u0435\u0440\u0441\u0438\u0438 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u043b\u0438 \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u0436\u0435 \u0446\u0438\u0444\u0440\u0430\u043c\u0438 \u0443 \u0441\u0430\u043c\u043e\u0439 Neo4j.<\/p>\n<p>  <\/p>\n<h4 id=\"podhod-1-pryamaya-vizualizaciya\">\u041f\u043e\u0434\u0445\u043e\u0434 1: \u043f\u0440\u044f\u043c\u0430\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/h4>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0433\u0440\u0430\u0444 Spring Integration, \u0441\u0443\u0434\u044f \u043f\u043e \u0435\u0433\u043e JSON-\u043c\u043e\u0434\u0435\u043b\u0438, \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432\u0441\u0451 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0437\u044f\u0442\u044c \u0435\u0433\u043e \u201c\u043a\u0430\u043a \u0435\u0441\u0442\u044c\u201d \u0438 \u0437\u0430\u043b\u0438\u0442\u044c \u0432 \u0433\u0440\u0430\u0444\u043e\u0432\u0443\u044e \u0421\u0423\u0411\u0414: \u0443\u0437\u043b\u044b \u2013 \u043a \u0432\u0435\u0440\u0448\u0438\u043d\u0430\u043c, \u0441\u0432\u044f\u0437\u0438 \u2013 \u043a \u0440\u0451\u0431\u0440\u0430\u043c, \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u2013 \u043a \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c. \u0418\u0437 \u0432\u0441\u0435\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0443\u0437\u043b\u043e\u0432 \u043c\u044b \u0432\u043e\u0437\u044c\u043c\u0451\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435: <code>nodeId<\/code>, <code>nodeName<\/code> \u0438 <code>componentType<\/code>. \u041e\u043d\u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0431\u0430\u0437\u043e\u0432\u044b\u043c \u043a\u043b\u0430\u0441\u0441\u043e\u043c <code>org.springframework.integration.graph.IntegrationNode<\/code>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0443 \u0432\u0441\u0435\u0445 \u0431\u0435\u0437 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0443\u0437\u043b\u043e\u0432 (\u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u0442\u043e\u0447\u043d\u043e).<\/p>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0438\u0434\u0435\u044f \u0441\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u044f\u043c\u043e \u0438\u0437 Neo4j \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435:<\/p>\n<p>  <\/p>\n<blockquote><p><em>\u0412\u043e\u0437\u044c\u043c\u0438 JSON \u0432\u043e\u0442 \u043f\u043e \u044d\u0442\u043e\u043c\u0443 URL, \u043e\u0431\u043e\u0439\u0434\u0438 \u0432\u043e\u0442 \u0442\u0430\u043a\u0438\u0435 \u0435\u0433\u043e \u043f\u043e\u043b\u044f \u0438 \u0440\u0430\u0437\u043b\u043e\u0436\u0438 \u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0432\u043e\u0442 \u0442\u0430\u043a\u0438\u043c \u0432\u0435\u0440\u0448\u0438\u043d\u0430\u043c \u0438 \u0440\u0451\u0431\u0440\u0430\u043c \u0432\u043e\u0442 \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438.<\/em><\/p><\/blockquote>\n<p>\u041d\u0430 \u044f\u0437\u044b\u043a\u0435 <a href=\"https:\/\/neo4j.com\/developer\/cypher-query-language\/\" rel=\"nofollow\">Cypher<\/a> \u044d\u0442\u043e \u0440\u0430\u0441\u043f\u043e\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">\/\/ (1) load JSON from URL: WITH &quot;http:\/\/localhost:8080\/actuator\/integrationgraph&quot; AS url CALL apoc.load.json(url) YIELD value       WITH value AS json, value.contentDescriptor AS jsonDescriptor \/\/ (2) descriptor: MERGE (descriptor:Descriptor {name: jsonDescriptor.name})     ON CREATE SET     descriptor.providerVersion = jsonDescriptor.providerVersion,     descriptor.providerFormatVersion = jsonDescriptor.providerFormatVersion,     descriptor.provider = jsonDescriptor.provider \/\/ (3) nodes: WITH json, descriptor UNWIND json.nodes AS jsonNode MERGE (node:Node {nodeId: jsonNode.nodeId})     ON CREATE SET     node.componentType = jsonNode.componentType,     node.name = jsonNode.name \/\/ (4) links: WITH json, descriptor, node UNWIND json.links AS jsonLink MATCH (a:Node {nodeId: jsonLink.from}), (b:Node {nodeId: jsonLink.to}) MERGE (a)-[link:Link {type: jsonLink.type}]-&gt;(b) \/\/ (5) result: RETURN descriptor, node, link<\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435 \u043f\u0440\u043e URL<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p>\u0415\u0441\u043b\u0438 Neo4j \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u0430 \u043d\u0430 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0438\u043b\u0438 \u0432 Sandbox\u2019\u0435, \u0442\u043e \u044d\u0442\u043e\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f, \u0442.\u043a. <code>localhost<\/code> \u0434\u043b\u044f \u043d\u0435\u0451 \u0431\u0443\u0434\u0435\u0442 \u0434\u0440\u0443\u0433\u0438\u043c. \u041f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043b\u0438\u0431\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0441\u0432\u043e\u0439 JSON-\u0433\u0440\u0430\u0444 \u0432\u043d\u0435\u0448\u043d\u0438\u043c \u0430\u0434\u0440\u0435\u0441\u043e\u043c, \u043b\u0438\u0431\u043e \u0445\u043e\u0442\u044f \u0431\u044b \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0430\u0434\u0440\u0435\u0441 <a href=\"https:\/\/toparvion.pro\/post\/2020\/integraph\/export\/analog.json\" rel=\"nofollow\">\u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0430<\/a> \u0433\u0440\u0430\u0444\u0430 \u043e\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f <a href=\"https:\/\/toparvion.pro\/project\/analog\/\" rel=\"nofollow\">\u0410\u043d\u0430\u041b\u00f3\u0433<\/a>.<\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u041d\u0435 \u0432\u0434\u0430\u0432\u0430\u044f\u0441\u044c \u0432 \u043f\u0435\u0440\u0435\u0441\u043a\u0430\u0437 <a href=\"https:\/\/neo4j.com\/docs\/cypher-refcard\/4.0\/\" rel=\"nofollow\">\u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430<\/a> \u044f\u0437\u044b\u043a\u0430 Cypher, \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0443 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0447\u0430\u0441\u0442\u0438 \u044d\u0442\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 (\u043f\u043e \u0446\u0438\u0444\u0440\u0430\u043c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445):<\/p>\n<p>  <\/p>\n<ol>\n<li>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/neo4j.com\/docs\/labs\/apoc\/current\/import\/load-json\/\" rel=\"nofollow\">APOC-\u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b<\/a> <code>apoc.load.json(url)<\/code> \u043c\u044b \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c JSON-\u0433\u0440\u0430\u0444 \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u0438 \u0440\u0430\u0434\u0438 \u043a\u0440\u0430\u0442\u043a\u043e\u0441\u0442\u0438 \u0438 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u043a\u043e\u0440\u0435\u043d\u044c \u0432 <code>json<\/code>, \u0430 \u043e\u0431\u044a\u0435\u043a\u0442 \u0441 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u043e\u043c \u2013 \u0432 <code>jsonDescriptor<\/code>.<\/li>\n<li>\u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u0432 \u0433\u0440\u0430\u0444\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0432\u0435\u0440\u0448\u0438\u043d\u0443 \u0441 \u043c\u0435\u0442\u043a\u043e\u0439 <code>Descriptor<\/code>, \u0434\u043e\u0441\u043b\u043e\u0432\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044f \u0432 \u0435\u0451 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 <code>jsonDescriptor<\/code>.<br \/>  \u0417\u0434\u0435\u0441\u044c \u0438 \u0434\u0430\u043b\u0435\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0438\u043c\u0435\u043d\u043d\u043e <a href=\"https:\/\/neo4j.com\/docs\/cypher-manual\/4.0\/clauses\/merge\/\" rel=\"nofollow\">\u043a\u043e\u043c\u0430\u043d\u0434\u0430<\/a> <code>MERGE<\/code>, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0440\u043e\u0441 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043c\u043d\u043e\u0433\u043e\u043a\u0440\u0430\u0442\u043d\u043e \u043f\u043e \u043c\u0435\u0440\u0435 \u0440\u043e\u0441\u0442\u0430 \u0433\u0440\u0430\u0444\u0430, \u043d\u0435 \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0438 \u0438 \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442\u044b. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435 \u0432\u0430\u0436\u043d\u043e, <code>MERGE<\/code> \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 <code>CREATE<\/code>.<\/li>\n<li>\u041e\u0431\u0445\u043e\u0434\u0438\u043c \u0443\u0437\u043b\u044b JSON-\u0433\u0440\u0430\u0444\u0430 (\u043c\u0430\u0441\u0441\u0438\u0432 <code>nodes<\/code>) \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0435\u0439 <code>UNWIND<\/code> \u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u043d\u0438\u0445 \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u0432 \u0446\u0435\u043b\u0435\u0432\u043e\u043c \u0433\u0440\u0430\u0444\u0435 \u0432\u0435\u0440\u0448\u0438\u043d\u0443 \u0441 \u043c\u0435\u0442\u043a\u043e\u0439 <code>Node<\/code>, \u043f\u043e\u043f\u0443\u0442\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <code>name<\/code> \u0438 <code>componentType<\/code>.<\/li>\n<li>\u0422\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0434\u0435\u043b\u044b\u0432\u0430\u0435\u043c \u0438\u0437 \u0441\u043e \u0441\u0432\u044f\u0437\u044f\u043c\u0438 (\u043c\u0430\u0441\u0441\u0438\u0432 <code>links<\/code>), \u043d\u043e \u043f\u0435\u0440\u0435\u0434 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u0440\u0435\u0431\u0440\u0430 \u0441 \u043c\u0435\u0442\u043a\u043e\u0439 <code>Link<\/code> \u043e\u0442\u044b\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u043c\u044b\u0435 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0435\u0439 <code>MATCH<\/code>, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u0442\u044c \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442\u044b \u044d\u0442\u0438\u0445 \u0432\u0435\u0440\u0448\u0438\u043d.<\/li>\n<li>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0432\u0441\u0451, \u0447\u0442\u043e \u0442\u0443\u0442 \u043f\u043e\u043d\u0430\u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0438: \u0443\u0437\u043b\u044b, \u0441\u0432\u044f\u0437\u0438 \u0438 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440.<\/li>\n<\/ol>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 \u0432 <a href=\"https:\/\/neo4j.com\/developer\/neo4j-browser\/\" rel=\"nofollow\">Neo4j Browser<\/a> \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 <a href=\"https:\/\/toparvion.pro\/post\/2020\/integraph\/export\/analog.json\" rel=\"nofollow\">\u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0433\u043e<\/a> JSON-\u0433\u0440\u0430\u0444\u0430, \u0442\u043e \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/lr\/jj\/pn\/lrjjpnlm2kq-pn6zdp8p51x2bu0.png\" alt=\"\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0410\u043d\u0430\u041b\u043e\u0433\"><\/p>\n<p>  <\/p>\n<p>\u0412 \u043e\u0431\u0449\u0435\u043c-\u0442\u043e, \u0446\u0435\u043b\u044c \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442\u0430: EIP-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0435\u043d\u044b \u0432 \u0432\u0435\u0440\u0448\u0438\u043d\u044b \u0433\u0440\u0430\u0444\u0430, \u043c\u0435\u0436\u0434\u0443 \u0432\u0435\u0440\u0448\u0438\u043d\u0430\u043c\u0438 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u044b \u0440\u0451\u0431\u0440\u0430 \u0432 \u043d\u0443\u0436\u043d\u044b\u0445 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u0445, \u0430 \u0435\u0441\u043b\u0438 \u043f\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u043a\u0443\u0440\u0441\u043e\u0440\u043e\u043c \u043f\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c \u0433\u0440\u0430\u0444\u0430 \u0432 Neo4j Browser, \u0442\u043e \u0432 \u043d\u0438\u0436\u043d\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u043f\u0430\u043d\u0435\u043b\u0438 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0432\u0441\u044f\u043a\u0438\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u043f\u0435\u0440\u0435\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u043b\u0438 \u0432 Cypher-\u0437\u0430\u043f\u0440\u043e\u0441\u0435:<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/u_\/7d\/9p\/u_7d9pa_6hczz7dncryv5fmcnjk.png\" alt=\"\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0443\u0437\u043b\u0430\"><\/p>\n<p>  <\/p>\n<p>\u0418 \u0434\u0430\u0436\u0435 \u201c\u0440\u0430\u0437\u043e\u0431\u0449\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u201d \u0433\u0440\u0430\u0444\u0430 (\u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043e\u0441\u0442\u043e\u0432\u043e\u0432) \u0432 \u044d\u0442\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u043e\u0439 \u0438\u043c\u043f\u043e\u0440\u0442\u0430, \u044d\u0442\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, \u0432\u0441\u0451 \u041e\u041a.<\/p>\n<p>  <\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u0431\u044b\u0441\u0442\u0440\u043e \u0432\u044b\u044f\u0441\u043d\u044f\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0433\u0440\u0430\u0444\u0430 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u041f\u043b\u043e\u0445\u043e \u0432\u0438\u0434\u043d\u043e, \u043a\u0430\u043a\u043e\u0439 \u0438\u043c\u0435\u043d\u043d\u043e EIP-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0437\u0430 \u043a\u0430\u0436\u0434\u044b\u043c \u0443\u0437\u043b\u043e\u043c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432\u0441\u0435 \u0443\u0437\u043b\u044b \u0438\u043c\u0435\u044e\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 \u0446\u0432\u0435\u0442 \u0438 \u0440\u0430\u0437\u043c\u0435\u0440, \u0430 \u0438\u043c\u0435\u043d\u0430 \u043e\u0431\u0440\u0435\u0437\u0430\u043d\u044b \u0438 \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0435\u0444\u0438\u043a\u0441 \u0438\u043c\u0435\u043d\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443 \u043c\u043d\u043e\u0433\u0438\u0445 \u0443\u0437\u043b\u043e\u0432 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>serverR...<\/code> \u041c\u043e\u0436\u043d\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0430\u0432\u043e\u0434\u0438\u0442\u044c \u043a\u0443\u0440\u0441\u043e\u0440 \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0443\u0437\u0435\u043b \u0438 \u0432\u0438\u0434\u0435\u0442\u044c \u0435\u0433\u043e \u0438\u043c\u044f \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u0430, \u043d\u043e \u044d\u0442\u043e \u0442\u0430\u043a \u0441\u0435\u0431\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435.<\/li>\n<li>\u0422\u0440\u0443\u0434\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u044c \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0432\u044f\u0437\u0435\u0439, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432\u0441\u0435 \u043e\u043d\u0438 \u0438\u043c\u0435\u044e\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 \u043d\u0435\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0442\u0438\u043f <code>Link<\/code>, \u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0438\u043f \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0435 <code>type<\/code>. \u0418 \u044d\u0442\u043e \u043d\u0435 \u0438\u0437\u044a\u044f\u043d \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430, \u0430 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u044f\u0437\u044b\u043a\u0430 Cypher, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u201c\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438\u201d \u043d\u0435\u043b\u044c\u0437\u044f \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0438\u043f\u044b \u0440\u0451\u0431\u0451\u0440 \u0438 \u043c\u0435\u0442\u043a\u0438 \u0432\u0435\u0440\u0448\u0438\u043d \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438.<\/li>\n<li>\u0414\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u0441\u0432\u044f\u0437\u0430\u043d \u0441 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0433\u0440\u0430\u0444\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u043e\u043d\u044f\u0442\u044c, \u043a \u043a\u0430\u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u0442\u043e\u0442 \u0438\u043b\u0438 \u0438\u043d\u043e\u0439 \u0443\u0437\u0435\u043b, \u0440\u0430\u0432\u043d\u043e \u043a\u0430\u043a \u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u2013 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0443\u0437\u043b\u044b \u0438 \u0441\u0432\u044f\u0437\u0438 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0442\u043e\u0442 \u0438\u043b\u0438 \u0438\u043d\u043e\u0439 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0442\u0430\u043a\u0438\u0435 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438 \u043d\u0435 \u0441\u043c\u0443\u0449\u0430\u044e\u0442, \u0442\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0447\u0438\u0442\u0430\u0442\u044c, \u0430 \u0435\u0441\u043b\u0438 \u0434\u0443\u0445 \u043f\u0440\u0430\u0433\u043c\u0430\u0442\u0438\u043a\u0430 \u0432\u0441\u0451 \u0436\u0435 \u0432\u0437\u0431\u0443\u043d\u0442\u043e\u0432\u0430\u043b\u0441\u044f, \u0442\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f\u2026<\/p>\n<p>  <\/p>\n<h4 id=\"podhod-2-vizualizaciya-s-predobrabotkoy\">\u041f\u043e\u0434\u0445\u043e\u0434 2: \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441 \u043f\u0440\u0435\u0434\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439<\/h4>\n<p>  <\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u0433\u0440\u0430\u0444 \u0441\u0442\u0430\u043b \u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u044b\u043c, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0432\u043e\u0437\u043b\u043e\u0436\u0438\u0442\u044c \u0447\u0430\u0441\u0442\u044c \u0441\u043c\u044b\u0441\u043b\u043e\u0432\u043e\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0430 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 \u0435\u0433\u043e \u0443\u0437\u043b\u043e\u0432: \u0444\u043e\u0440\u043c\u0443, \u0440\u0430\u0437\u043c\u0435\u0440, \u0446\u0432\u0435\u0442. \u041d\u043e \u0435\u0441\u043b\u0438 \u0444\u043e\u0440\u043c\u0430 \u0432 Neo4j Browser \u043d\u0435 \u043f\u043e\u0434 \u043d\u0430\u0448\u0435\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u043c (\u0442\u0430\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u0440\u0443\u0433\u0438, \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0444\u043e\u0440\u043c \u043d\u0443\u0436\u043d\u044b <a href=\"https:\/\/neo4j.com\/developer\/tools-graph-visualization\/\" rel=\"nofollow\">\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0435<\/a> \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u044b), \u0442\u043e \u0440\u0430\u0437\u043c\u0435\u0440 \u0438 \u0446\u0432\u0435\u0442 \u043c\u044b \u0432\u043f\u043e\u043b\u043d\u0435 \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0437\u0430 \u0441\u0447\u0451\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0442\u0438\u043b\u0435\u0439 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 <a href=\"https:\/\/neo4j.com\/developer\/neo4j-browser\/#browser-styling-adv\" rel=\"nofollow\"><strong>GraSS<\/strong><\/a> (Graph Style Sheet), \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 Neo4j Browser\u2019\u043e\u043c. \u041f\u0440\u0438\u043c\u0435\u0440 \u0442\u0430\u043a\u043e\u0433\u043e \u0441\u0442\u0438\u043b\u044f <a href=\"https:\/\/toparvion.pro\/post\/2020\/integraph\/export\/style.grass\" rel=\"nofollow\">\u043f\u0440\u0438\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f<\/a> \u043a \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u0430 \u0447\u0442\u043e\u0431\u044b \u0435\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c, \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <code>:style<\/code> \u0438 \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044c \u0441\u043a\u0430\u0447\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0441\u0442\u0438\u043b\u044f \u043d\u0430 \u043e\u0442\u043a\u0440\u044b\u0432\u0448\u0443\u044e\u0441\u044f \u043f\u0430\u043d\u0435\u043b\u044c (\u0437\u0430\u0448\u0442\u0440\u0438\u0445\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c):<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/jx\/lm\/zu\/jxlmzu_jbs9fdvlmylff40irxko.png\" alt=\"\u0412\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u0430\u044f \u043e\u0440\u0430\u043d\u0436\u0435\u0432\u044b\u043c \u043a\u043d\u043e\u043f\u043a\u0430 \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u0441\u0442\u0438\u043b\u044c \u0432 \u0443\u043c\u043e\u043b\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439\"><\/p>\n<p>  <\/p>\n<p>\u041d\u043e \u044d\u0442\u043e \u0435\u0449\u0451 \u043d\u0435 \u0432\u0441\u0451. \u0421\u0442\u0438\u043b\u0438 \u0432 Neo4j Browser \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043d\u0435 \u043a \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c \u0443\u0437\u043b\u043e\u0432, \u0430 \u043a \u0438\u0445 \u043c\u0435\u0442\u043a\u0430\u043c, \u043e\u0434\u043d\u0430\u043a\u043e \u0443 \u043d\u0430\u0441 \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u0441\u0435 \u0443\u0437\u043b\u044b (\u043a\u0440\u043e\u043c\u0435 \u043e\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044f) \u0438\u043c\u0435\u044e\u0442 \u043e\u0434\u043d\u0443 \u0438 \u0442\u0443 \u0436\u0435 \u043c\u0435\u0442\u043a\u0443 <code>Node<\/code>. \u0418 \u0434\u0430\u0436\u0435 \u0431\u0435\u0437\u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a \u0442\u043e\u043d\u043a\u043e\u0441\u0442\u044f\u043c Neo4j Browser, \u0432 \u0433\u0440\u0430\u0444\u043e\u0432\u044b\u0445 \u0421\u0423\u0411\u0414 \u0447\u0430\u0441\u0442\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043a\u0438 \u0443\u0437\u043b\u043e\u0432 \u043a \u0440\u043e\u043b\u044f\u043c, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u043c \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u0443\u0435\u043c\u044b\u043c\u0438 \u0438\u043c\u0438 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044f\u043c\u0438. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u0434 \u043f\u043e\u043d\u044f\u0442\u0438\u0435 \u201c\u0440\u043e\u043b\u0438\u201d \u043b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u043e\u0434\u043f\u0430\u0434\u0430\u0435\u0442 \u0442\u0438\u043f EIP-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430: \u043a\u0430\u043d\u0430\u043b, \u0430\u0434\u0430\u043f\u0442\u0435\u0440, \u0444\u0438\u043b\u044c\u0442\u0440 \u0438 \u0442.\u043f. \u041d\u043e \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043d\u0430\u0431\u043e\u0440 \u044d\u0442\u0438\u0445 \u0442\u0438\u043f\u043e\u0432, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d, \u043d\u0430\u0448 Cypher-\u0437\u0430\u043f\u0440\u043e\u0441 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u0443\u0434\u0435\u0442 \u043a\u0430\u043a-\u0442\u043e \u201c\u043d\u0430 \u043b\u0435\u0442\u0443\u201d \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u0438\u0445 \u0438 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0442\u044c \u0432 \u043c\u0435\u0442\u043a\u0438 \u0443\u0437\u043b\u043e\u0432. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u044f\u0437\u044b\u043a Cypher \u201c\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438\u201d \u0442\u0430\u043a\u043e\u0433\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442: \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u043c\u0435\u0442\u043a\u0438 \u2013 \u043d\u0435\u0447\u0442\u043e \u0441\u0440\u043e\u0434\u043d\u0438 \u0438\u043c\u0435\u043d\u0430\u043c \u0442\u0430\u0431\u043b\u0438\u0446 \u0432 \u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0411\u0414, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043c\u044f \u043c\u0435\u0442\u043a\u0438 \u043f\u0440\u044f\u043c\u043e \u043f\u043e \u0445\u043e\u0434\u0443 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0435\u043b\u044c\u0437\u044f. \u0417\u0434\u0435\u0441\u044c \u043d\u0430\u043c \u0441\u043d\u043e\u0432\u0430 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 APOC. \u0412 \u043d\u0435\u0439 \u0435\u0441\u0442\u044c <a href=\"https:\/\/neo4j.com\/docs\/labs\/apoc\/current\/graph-updates\/data-creation\/\" rel=\"nofollow\">\u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430<\/a> <code>apoc.merge.node<\/code>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u043c\u0435\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c\/\u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0443\u0437\u043b\u044b, \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044f \u0438\u0445 \u043c\u0435\u0442\u043a\u0438 \u0432 \u0432\u0438\u0434\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445:<\/p>\n<p>  <\/p>\n<blockquote><p>merge <strong>nodes with dynamic labels<\/strong>, with support for setting properties ON CREATE or ON MATCH<\/p><\/blockquote>\n<p>\u0417\u0434\u0435\u0441\u044c \u0432\u0430\u0436\u043d\u043e \u043d\u0435 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0440\u0430\u0442\u044c\u0441\u044f: \u0442\u0438\u043f\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043c\u043d\u043e\u0433\u043e, \u0438 \u0435\u0441\u043b\u0438 \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0442\u0438\u043f\u0443 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u0432\u0435\u0434\u0435\u043d \u0441\u0432\u043e\u0439 \u0446\u0432\u0435\u0442\/\u0440\u0430\u0437\u043c\u0435\u0440, \u0442\u043e \u043c\u044b \u0440\u0438\u0441\u043a\u0443\u0435\u043c \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0432 \u0434\u0440\u0443\u0433\u0443\u044e \u043a\u0440\u0430\u0439\u043d\u043e\u0441\u0442\u044c \u2013 \u0433\u0440\u0430\u0444 \u0432\u0437\u0440\u043e\u0441\u043b\u043e\u0433\u043e, \u0431\u043e\u0433\u0430\u0442\u043e\u0433\u043e \u043b\u043e\u0433\u0438\u043a\u043e\u0439 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043a\u0430\u043a \u043f\u0451\u0441\u0442\u0440\u0430\u044f \u043c\u0435\u0448\u0430\u043d\u0438\u043d\u0430 \u0440\u0430\u0437\u043d\u043e\u0440\u043e\u0434\u043d\u044b\u0445 \u043a\u0440\u0443\u0436\u043e\u0447\u043a\u043e\u0432. \u0427\u0442\u043e\u0431\u044b \u044d\u0442\u043e\u0433\u043e \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c, \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 Cypher-\u0437\u0430\u043f\u0440\u043e\u0441 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0448\u0430\u0433 \u0441\u0432\u043e\u0435\u043e\u0431\u0440\u0430\u0437\u043d\u043e\u0439 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u0442\u0438\u043f\u043e\u0432 \u0443\u0437\u043b\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u201c\u0441\u0445\u043b\u043e\u043f\u044b\u0432\u0430\u0442\u044c\u201d \u0441\u0445\u043e\u0436\u0438\u0435 \u0442\u0438\u043f\u044b \u0432 \u043e\u0434\u0438\u043d, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u0441\u0435 \u0440\u0430\u0437\u043d\u043e\u0432\u0438\u0434\u043d\u043e\u0441\u0442\u0438 \u043a\u0430\u043d\u0430\u043b\u043e\u0432 \u0441\u0432\u0435\u0434\u0451\u0442 \u043a \u043e\u0434\u043d\u043e\u043c\u0443 \u0442\u0438\u043f\u0443 <code>channel<\/code>. \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <a href=\"https:\/\/neo4j.com\/docs\/cypher-manual\/4.0\/syntax\/expressions\/#query-syntax-case\" rel=\"nofollow\">\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f<\/a> <code>CASE<\/code>.<\/p>\n<p>  <\/p>\n<p>\u0422\u043e \u0436\u0435 \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0438 \u0441\u0432\u044f\u0437\u0435\u0439: \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0445\u043e\u0440\u043e\u0448\u043e \u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0445 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u043f\u043e \u0446\u0432\u0435\u0442\u0443 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u0438\u043f\u0430, \u0432\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u0434\u043b\u044f \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0432\u044b\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0442\u0438\u043f\u0430 \u0438\u0437 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u043e\u0433\u043e JSON-\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u043d\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0430\u044f \u0432 Cypher \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <code>MERGE<\/code>, \u0430 \u0435\u0451 \u0430\u043d\u0430\u043b\u043e\u0433 \u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 APOC \u2013 <a href=\"https:\/\/neo4j.com\/docs\/labs\/apoc\/current\/graph-updates\/data-creation\/\" rel=\"nofollow\">\u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430<\/a> <code>apoc.merge.relationship<\/code>:<\/p>\n<p>  <\/p>\n<blockquote><p>merge <strong>relationship with dynamic type<\/strong>, with support for setting properties ON CREATE or ON MATCH<\/p><\/blockquote>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0415\u0441\u043b\u0438 Neo4j \u0432\u0435\u0440\u0441\u0438\u0438 3.\u0445<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p>\u0412 APOC-\u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430\u0445 <code>apoc.merge.(relationship|node)<\/code> \u0432\u0435\u0440\u0441\u0438\u0438 <strong>3.x<\/strong> (\u043a\u0430\u043a \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 Neo4j Sandbox \u043d\u0430 \u0430\u043f\u0440\u0435\u043b\u044c 2020) \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>onMatchProps<\/code>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0442\u0438\u0440\u0430\u0442\u044c \u0438\u0437 \u0437\u0434\u0435\u0448\u043d\u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432.<\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043d\u0443\u0436\u043d\u043e \u043a\u0430\u043a-\u0442\u043e \u201c\u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c\u201d \u043e\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c \u0433\u0440\u0430\u0444\u0430 \u043a \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e, \u0441 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u043b\u0435\u0433\u043a\u043e \u0432\u044b\u044f\u0441\u043d\u0438\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0433\u0440\u0430\u0444\u0430 \u043e\u043d \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442, \u0430 \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u2013 \u043b\u0435\u0433\u043a\u043e \u0434\u043e\u0431\u044b\u0442\u044c \u043c\u0435\u0442\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043b\u044e\u0431\u043e\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435 \u0433\u0440\u0430\u0444\u0430, \u043d\u0435 \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044f \u0435\u0451 \u0432 \u0441\u0430\u043c\u043e\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435. \u041f\u043b\u044e\u0441 \u043a \u0442\u043e\u043c\u0443, \u0443 \u043d\u0430\u0441 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0433\u0440\u0430\u0444\u043e\u0432 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0411\u0414 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u043d\u0435 \u043f\u0443\u0442\u0430\u043b\u0438\u0441\u044c, \u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e \u0438\u043c\u0435\u043d\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0412\u0441\u0435 \u044d\u0442\u0438 \u0445\u043e\u0442\u0435\u043b\u043a\u0438 \u043b\u0435\u0433\u043a\u043e \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0432\u0432\u0435\u0441\u0442\u0438 \u0432 \u0433\u0440\u0430\u0444 \u201c\u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e\u201d \u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 \u043e\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u0435\u043c \u0438 \u043a\u0430\u0436\u0434\u044b\u043c \u0443\u0437\u043b\u043e\u043c \u0435\u0433\u043e \u0433\u0440\u0430\u0444\u0430. \u041d\u0430\u0437\u043e\u0432\u0451\u043c \u044d\u0442\u0443 \u0441\u0432\u044f\u0437\u044c <code>DESCRIBES<\/code> \u0438 \u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0431\u0435\u0437 \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432.<\/p>\n<p>  <\/p>\n<h5 id=\"rasshirennyy-zapros\">\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441<\/h5>\n<p>  <\/p>\n<p>\u0418\u0442\u0430\u043a, \u0441 \u0443\u0447\u0451\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u0439, \u043d\u0430\u0448 \u043f\u0440\u0435\u0436\u043d\u0438\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0434\u043e \u0442\u0430\u043a\u043e\u0433\u043e:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">\/\/ (1) load JSON from URL: WITH &quot;http:\/\/localhost:8080\/actuator\/integrationgraph&quot; AS url CALL apoc.load.json(url) YIELD value WITH value AS json, value.contentDescriptor AS jsonDesc \/\/ (2) descriptor: MERGE (descriptor:Descriptor {name: jsonDesc.name})   ON CREATE SET     descriptor.providerVersion = jsonDesc.providerVersion,     descriptor.providerFormatVersion = jsonDesc.providerFormatVersion,     descriptor.provider = jsonDesc.provider,     descriptor.updated = localdatetime()   ON MATCH SET     descriptor.updated = localdatetime() \/\/ (3) nodes: WITH json, descriptor UNWIND json.nodes AS jsonNode CALL apoc.merge.node(   \/*labels*\/ ['Node',     CASE       WHEN jsonNode.componentType IS NULL THEN &quot;&lt;unknown&gt;&quot;       WHEN toLower(jsonNode.componentType) ENDS WITH &quot;channel&quot; THEN &quot;channel&quot;       WHEN toLower(jsonNode.componentType) ENDS WITH &quot;adapter&quot; THEN &quot;adapter&quot;       WHEN jsonNode.componentType CONTAINS '$' THEN &quot;&lt;other&gt;&quot;       ELSE jsonNode.componentType     END],   \/*identProps*\/   {nodeId: jsonNode.nodeId, appName: descriptor.name},   \/*onCreateProps*\/{name: jsonNode.name, componentType: jsonNode.componentType},   \/*onMatchProps*\/ {} ) YIELD node MERGE (descriptor)-[:DESCRIBES]-&gt;(node) \/\/ (4) links: WITH json, descriptor, node UNWIND json.links AS jsonLink MATCH (a:Node {nodeId: jsonLink.from})&lt;-[:DESCRIBES]-(descriptor)-[:DESCRIBES]-&gt;(b:Node {nodeId: jsonLink.to}) CALL apoc.merge.relationship(a, toUpper(jsonLink.type), {}, {}, b, {}) YIELD rel \/\/ (5) result: RETURN descriptor<\/code><\/pre>\n<p>  <\/p>\n<p><em><a href=\"https:\/\/toparvion.pro\/post\/2020\/integraph\/export\/integraph.cypher\" rel=\"nofollow\">\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441 \u0444\u0430\u0439\u043b\u043e\u043c<\/a><\/em><\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435 \u043f\u0440\u043e URL<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p>\u0415\u0441\u043b\u0438 Neo4j \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u0430 \u043d\u0430 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0438\u043b\u0438 \u0432 Sandbox\u2019\u0435, \u0442\u043e \u044d\u0442\u043e\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f, \u0442.\u043a. <code>localhost<\/code> \u0434\u043b\u044f \u043d\u0435\u0451 \u0431\u0443\u0434\u0435\u0442 \u0434\u0440\u0443\u0433\u0438\u043c. \u041f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043b\u0438\u0431\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0441\u0432\u043e\u0439 JSON-\u0433\u0440\u0430\u0444 \u0432\u043d\u0435\u0448\u043d\u0438\u043c \u0430\u0434\u0440\u0435\u0441\u043e\u043c, \u043b\u0438\u0431\u043e \u0445\u043e\u0442\u044f \u0431\u044b \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0430\u0434\u0440\u0435\u0441 <a href=\"https:\/\/toparvion.pro\/post\/2020\/integraph\/export\/analog.json\" rel=\"nofollow\">\u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0430<\/a> \u0433\u0440\u0430\u0444\u0430 \u043e\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f <a href=\"https:\/\/toparvion.pro\/project\/analog\/\" rel=\"nofollow\">\u0410\u043d\u0430\u041b\u00f3\u0433<\/a>.<\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0432\u044b\u0440\u043e\u0441\u0448\u0438\u0439 \u043e\u0431\u044a\u0451\u043c, \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0442\u0435\u0445 \u0436\u0435 5 \u0447\u0430\u0441\u0442\u0435\u0439 (\u043f\u043e \u043d\u043e\u043c\u0435\u0440\u0430\u043c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445):<\/p>\n<p>  <\/p>\n<ol>\n<li>\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c JSON \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u0438 \u0432\u0432\u043e\u0434\u0438\u043c \u0430\u043b\u0438\u0430\u0441\u044b \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0438 \u043a\u0440\u0430\u0442\u043a\u043e\u0441\u0442\u0438;<\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u0451\u043c\/\u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u043a\u0430\u043a \u0440\u0430\u043d\u044c\u0448\u0435, \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0441\u043d\u0430\u0431\u0436\u0430\u0435\u043c \u0435\u0433\u043e \u043c\u0435\u0442\u043a\u043e\u0439 \u0441 \u0442\u0435\u043a\u0443\u0449\u0438\u043c\u0438 \u0434\u0430\u0442\u043e\u0439 \u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c;<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0451\u043c\/\u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u043a\u0430\u0436\u0434\u044b\u0439 \u0443\u0437\u0435\u043b, \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u044f \u0435\u043c\u0443 \u043c\u0435\u0442\u043a\u0443 <code>Node<\/code> (\u0447\u0442\u043e\u0431\u044b \u043c\u0435\u0436\u0434\u0443 \u0443\u0437\u043b\u0430\u043c\u0438 \u0432\u0441\u0451 \u0436\u0435 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0447\u0442\u043e-\u0442\u043e \u043e\u0431\u0449\u0435\u0435), \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u0434\u0435\u043b\u044b\u0432\u0430\u0435\u043c \u0432\u0442\u043e\u0440\u0443\u044e \u043c\u0435\u0442\u043a\u0443 \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c:<\/p>\n<p>  <\/p>\n<ul>\n<li><code>&lt;unknown&gt;<\/code>, \u0435\u0441\u043b\u0438 \u0443 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0443\u0437\u043b\u0430 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u0442\u0438\u043f (\u0447\u0442\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0434\u0438\u0447\u044c, \u043d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u0431\u044b\u0432\u0430\u0435\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0443 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 <code>UnzipTransformer<\/code>);<\/li>\n<li><code>channel<\/code>, \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u043d\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0442\u0438\u043f\u0430 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u043b\u043e\u0432\u043e <em>channel<\/em>, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>ExecutorSubscribableChannel<\/code>;<\/li>\n<li><code>adapter<\/code>, \u0435\u0441\u043b\u0438 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 <em>adapter<\/em>, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>inbound-channel-adapter<\/code>;<\/li>\n<li><code>&lt;other&gt;<\/code>, \u0435\u0441\u043b\u0438 \u0432 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0438 \u0442\u0438\u043f\u0430 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u043a <code>$<\/code>, \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0449\u0438\u0439 \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 \u0441 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u043c (\u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c \u0434\u043b\u044f \u043d\u0430\u0441) \u0438\u043c\u0435\u043d\u0435\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>ServerConfig$$Lambda$994\/0x00000008010fd440<\/code>;<\/li>\n<li>\u0441\u0430\u043c \u0442\u0438\u043f, \u0435\u0441\u043b\u0438 \u043d\u0438 \u043e\u0434\u043d\u043e \u0438\u0437 \u0443\u0441\u043b\u043e\u0432\u0438\u0439 \u0432\u044b\u0448\u0435 \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>&quot;componentType&quot;: &quot;gateway&quot;<\/code>.<br \/>  \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u0438\u043c\u044f \u0442\u0438\u043f\u0430 \u0432\u0441\u0451 \u0436\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0435 <code>componentType<\/code> \u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439. \u0417\u0434\u0435\u0441\u044c \u0436\u0435 \u043f\u043e \u0437\u0430\u0434\u0443\u043c\u043a\u0435 \u0432\u044b\u0448\u0435 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u0441 \u043a\u0430\u0436\u0434\u044b\u043c \u0443\u0437\u043b\u043e\u043c \u0441\u0432\u044f\u0437\u044c\u044e \u0442\u0438\u043f\u0430 <code>DESCRIBES<\/code>.<\/li>\n<\/ul>\n<p>  <\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u0451\u043c\/\u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0441\u0432\u044f\u0437\u0438, \u043d\u0430 \u0441\u0435\u0439 \u0440\u0430\u0437 \u0432\u044b\u0431\u0438\u0440\u0430\u044f \u0442\u0438\u043f \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043f\u043e\u043b\u044f <code>type<\/code> \u0438\u0437 JSON-\u0433\u0440\u0430\u0444\u0430 \u0438 \u043f\u0440\u0438\u0432\u043e\u0434\u044f \u0435\u0433\u043e \u043a \u0432\u0435\u0440\u0445\u043d\u0435\u043c\u0443 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0443 \u0434\u043b\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f \u043b\u0443\u0447\u0448\u0438\u043c <a href=\"https:\/\/neo4j.com\/docs\/cypher-manual\/4.0\/syntax\/naming\/#_recommendations\" rel=\"nofollow\">\u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430\u043c<\/a> \u0433\u0440\u0430\u0444\u043e\u0432\u044b\u0445 \u0411\u0414.<br \/>  \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u043c \u044f\u0432\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u0430 \u0441 \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u043c\u044b\u043c\u0438 \u0443\u0437\u043b\u0430\u043c\u0438. \u042d\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043b\u0438\u0448\u044c \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043d\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0443\u0437\u043b\u044b \u0447\u0443\u0436\u0438\u0445 \u0433\u0440\u0430\u0444\u043e\u0432, \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0435\u0441\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0436\u0435 <code>nodeId<\/code>. \u0415\u0441\u043b\u0438 \u0433\u0440\u0430\u0444 \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0431\u0430\u0437\u0435 \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u0438\u043d, \u0442\u043e \u044d\u0442\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043a\u0438\u043d\u0443\u0442\u044c \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043f\u043e\u043b\u0435\u043c <code>appName<\/code> \u0432 \u0443\u0437\u043b\u0430\u0445.<\/li>\n<li>\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u043a\u0430\u043a \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430.<br \/>  \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043b\u0443\u0447\u0448\u0435 \u0431\u044b \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0432\u0435\u0441\u044c \u0433\u0440\u0430\u0444, \u043d\u043e \u043f\u043e \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u044d\u0442\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0437\u0430\u043c\u0435\u0434\u043b\u044f\u043b\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0432\u043e \u0432\u0441\u0435\u0445 \u043c\u043e\u0438\u0445 \u0442\u0435\u0441\u0442\u0430\u0445. \u0422\u0435\u043c\u0430 \u043d\u0430 \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c.<\/li>\n<\/ol>\n<p>  <\/p>\n<p>\u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0433\u0440\u0430\u0444\u0430 \u0432 Spring Integration, \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043d\u044f\u0442\u044c \u0437\u0430\u043c\u0435\u0442\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f (\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0435\u0441\u044f\u0442\u043a\u043e\u0432 \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430 \u043c\u043e\u0435\u0439 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0434\u043b\u044f \u0433\u0440\u0430\u0444\u0430 \u0438\u0437 350+ \u0443\u0437\u043b\u043e\u0432 \u0438 330+ \u0441\u0432\u044f\u0437\u0435\u0439, \u0441\u043c. \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043d\u0438\u0436\u0435). \u0412\u0440\u0435\u043c\u044f \u043c\u043e\u0436\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u0437\u0430\u0432\u0438\u0441\u0435\u0442\u044c \u043e\u0442 \u043e\u0431\u044a\u0451\u043c\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 Neo4j \u043f\u0430\u043c\u044f\u0442\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u043d\u0430 \u043d\u0435\u0439 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c, \u0432\u0435\u0434\u044c \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0437\u0430\u043c\u0438\u0440\u0430\u0442\u044c \u0432 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0438 \u0441\u0431\u043e\u0440\u043a\u0438 \u043c\u0443\u0441\u043e\u0440\u0430, \u0442\u043e \u0438\u043c\u043f\u043e\u0440\u0442 \u043c\u043e\u0436\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u0437\u0430\u0442\u044f\u043d\u0443\u0442\u044c\u0441\u044f \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u043a\u043e\u043d\u0447\u0438\u0442\u044c\u0441\u044f \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sm\/mm\/qq\/smmmqq-73y1evr8thpcfibw3gmw.png\" alt=\"OOM \u043f\u0440\u0438 \u0438\u043c\u043f\u043e\u0440\u0442\u0435\"><\/p>\n<p>  <\/p>\n<p>\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e Neo4j \u043d\u0435 \u043e\u0441\u043e\u0431\u043e \u0441\u0442\u0435\u0441\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0438 \u043f\u0430\u043c\u044f\u0442\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0442\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u043d\u0430 \u0442\u0430\u043a\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443 \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u043e. \u041d\u043e \u0435\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043d\u0430\u0439\u0442\u0438 \u043a\u043e\u043c\u043f\u0440\u043e\u043c\u0438\u0441\u0441 \u043c\u0435\u0436\u0434\u0443 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435\u043c \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e, \u0442\u043e \u0432 \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0435 Neo4j \u0435\u0441\u0442\u044c \u043e\u0442\u043b\u0438\u0447\u043d\u0430\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430 <code>bin\/neo4j-admin<\/code>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b <code>memrec<\/code> \u0443\u043c\u0435\u0435\u0442 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c, \u043a\u0430\u043a\u043e\u0439 \u0438 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u0447\u0442\u043e\u0431\u044b \u0436\u0438\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u043e.<\/p>\n<p>  <\/p>\n<p>\u041d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0434 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u043d\u0443\u0436\u043d\u043e \u0435\u0449\u0451 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u0442\u0438\u043b\u044c \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u043f\u0443\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u044f GraSS-\u0444\u0430\u0439\u043b\u0430 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/toparvion.pro\/post\/2020\/integraph\/export\/style.grass\" rel=\"nofollow\">\u044d\u0442\u043e\u0433\u043e<\/a>) \u043d\u0430 \u043f\u0430\u043d\u0435\u043b\u044c Neo4j Browser\u2019\u0430, \u043e\u0442\u043a\u0440\u044b\u0442\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 <code>:style<\/code>.<\/p>\n<p>  <\/p>\n<h4 id=\"vizualizaciya-grafa\">\u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0433\u0440\u0430\u0444\u0430<\/h4>\n<p>  <\/p>\n<p>\u041f\u043e\u043a\u0430 \u0432 \u043d\u0430\u0448\u0435\u0439 \u0411\u0414 \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u0438\u043d \u0433\u0440\u0430\u0444, \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u043c \u0442\u0438\u043f\u0430 <code>MATCH (a) RETURN a<\/code>, \u043d\u043e \u0438\u0437-\u0437\u0430 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u0430 \u0441 \u043a\u0430\u0436\u0434\u044b\u043c \u0443\u0437\u043b\u043e\u043c \u0433\u0440\u0430\u0444 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0437\u0430\u043f\u0443\u0442\u0430\u043d\u043d\u044b\u043c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043b\u0443\u0447\u0448\u0435 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0435\u0433\u043e \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u043e\u043f\u0430\u043b\u0438 \u0432\u0441\u0435 \u0443\u0437\u043b\u044b, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0435\u0441\u044f \u043a \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u0443, \u043d\u043e \u043d\u0435 \u0441\u0430\u043c \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440. \u0410 \u0435\u0433\u043e \u043f\u0440\u043e\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0430\u0439\u0442\u0438 \u043f\u043e \u0438\u043c\u0435\u043d\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f (\u043f\u043e\u043b\u0435 <code>name<\/code>):<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">WITH &quot;analog&quot; AS appName MATCH (:Descriptor {name: appName})-[:DESCRIBES]-&gt;(n:Node)-[l*0..1]-(:Node) RETURN n, l<\/code><\/pre>\n<p>  <\/p>\n<p>\u042d\u0442\u043e\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u0432\u0441\u0435 \u0443\u0437\u043b\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0435\u0441\u0442\u044c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u0432\u044f\u0437\u0438 \u043e\u0442 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432\u0441\u0435 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0435 \u0441\u0432\u044f\u0437\u0438 \u044d\u0442\u0438\u0445 \u0443\u0437\u043b\u043e\u0432 (\u0434\u043e\u043f\u0443\u0441\u043a\u0430\u044f \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0442\u0430\u043a\u0438\u0445 \u0441\u0432\u044f\u0437\u0435\u0439). \u041f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0437\u0430\u043e\u0434\u043d\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0433\u0440\u0430\u0444 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0438\u0445 \u0432 \u0411\u0414 \u0443\u0436\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e.<\/p>\n<p>  <\/p>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0442\u0438\u043b\u044f \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vs\/so\/1k\/vsso1kh4g1mkyfrlsqwagxwspwm.png\" alt=\"\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430\"><\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u043c\u0438\u043c\u043e \u0446\u0432\u0435\u0442\u043e\u0432 \u0438 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432, \u0432 \u044d\u0442\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0433\u0440\u0430\u0444\u0430 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438\u0441\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u043d\u0430 \u0443\u0437\u043b\u0430\u0445 \u0438 \u0441\u0432\u044f\u0437\u044f\u0445. \u0414\u043b\u044f \u0441\u0432\u044f\u0437\u0435\u0439 \u043c\u044b \u0437\u0430\u0434\u0430\u043b\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u0441\u0430\u043c\u0438 \u0432 Cypher-\u0437\u0430\u043f\u0440\u043e\u0441\u0435 (\u0441\u043c. \u043f.4 \u0432\u044b\u0448\u0435), \u0430 \u043f\u043e\u0434\u043f\u0438\u0441\u044c \u0443\u0437\u043b\u043e\u0432 \u0437\u0430\u0434\u0430\u043d\u0430 \u0447\u0435\u0440\u0435\u0437 \u0444\u0430\u0439\u043b \u0441\u0442\u0438\u043b\u0435\u0439 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f <a href=\"https:\/\/toparvion.pro\/post\/2020\/integraph\/export\/style.grass\" rel=\"nofollow\">style.grass<\/a>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043a\u0430\u0437\u0430\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u0435 <code>componentType<\/code> \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0443\u0437\u043b\u043e\u0432 \u0441 \u043c\u0435\u0442\u043a\u043e\u0439 <code>Node<\/code>. \u042d\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u043e \u0432 \u0442\u0435\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445, \u043a\u043e\u0433\u0434\u0430 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044e \u0441\u0445\u0435\u043c\u044b \u043d\u0435 \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u0430\u0436\u043d\u044b \u0438\u043c\u0435\u043d\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0438 \u043e\u043d \u0433\u043e\u0442\u043e\u0432 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438\u0445 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u043f\u0440\u0438 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u043a\u0443\u0440\u0441\u043e\u0440\u0430 \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0443\u0437\u0435\u043b. \u0410 \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435 \u0442\u0430\u043a, \u0442\u043e \u0432 \u0442\u043e\u043c \u0436\u0435 GraSS-\u0444\u0430\u0439\u043b\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u043d\u0438 EIP-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u0443\u0437\u043b\u0430:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">node.Node {   defaultCaption: &quot;&lt;id&gt;&quot;;   caption: &quot;{name}&quot;; }<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422\u043e\u0433\u0434\u0430 \u0434\u043b\u044f \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0446\u0432\u0435\u0442\u043e\u0432\u044b\u0445 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044e \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043f\u043e\u0433\u043b\u044f\u0434\u044b\u0432\u0430\u0442\u044c \u043d\u0430 \u0432\u0435\u0440\u0445\u043d\u044e\u044e \u0447\u0430\u0441\u0442\u044c \u043f\u0430\u043d\u0435\u043b\u0438 \u0441 \u0433\u0440\u0430\u0444\u043e\u043c \u0432 Neo4j Browser \u2013 \u0442\u0430\u043c \u0435\u0441\u0442\u044c \u043b\u0435\u0433\u0435\u043d\u0434\u0430:<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pm\/gf\/ib\/pmgfibifmns8wnyitvxp4wyl8jy.png\" alt=\"\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0446\u0432\u0435\u0442\u043e\u0432\u044b\u0435 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0442\u0438\u043f\u043e\u0432 \u0443\u0437\u043b\u043e\u0432 \u0432 \u0433\u0440\u0430\u0444\u0435\"><\/p>\n<p>  <\/p>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0433\u0440\u0430\u0444\u043e\u043c \u0432 \u0442\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435 \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u0442\u0430\u0442\u044c \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043f\u0440\u043e\u0449\u0435 \u0438 \u043f\u0440\u0438\u044f\u0442\u043d\u0435\u0435. \u041d\u043e \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043d\u0435\u0442, \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0434\u0435\u043b\u043e \u043b\u0438\u0448\u044c \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 Neo4j Browser, \u0430 \u043d\u0435 \u0432 \u0441\u0430\u043c\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u0412 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u043d\u0430 <a href=\"https:\/\/neo4j.com\/developer\/tools-graph-visualization\/\" rel=\"nofollow\">\u0434\u0440\u0443\u0433\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b<\/a> \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0433\u0440\u0430\u0444\u043e\u0432.<\/p>\n<p>  <\/p>\n<h3 id=\"primery\">\u041f\u0440\u0438\u043c\u0435\u0440\u044b<\/h3>\n<p>  <\/p>\n<p>\u0411\u0443\u0434\u0443\u0447\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u043d\u0430 \u0441\u043b\u0443\u0436\u0431\u0443, Neo4j \u043c\u043e\u0436\u0435\u0442 \u0441\u0442\u0430\u0442\u044c \u0446\u0435\u043d\u043d\u044b\u043c \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u043e\u043c \u0432 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0433\u0440\u0430\u0444\u043e\u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 Spring Integration. \u042d\u0442\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0446\u0435\u043d\u043d\u043e, \u043a\u043e\u0433\u0434\u0430 \u044d\u0442\u0438 \u0433\u0440\u0430\u0444\u044b \u043d\u0435 \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u044b \u0438 \u0437\u0430\u043f\u0443\u0442\u0430\u043d\u044b, \u043a\u0430\u043a \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u0435, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043c\u043d\u0435 \u0434\u043e\u0432\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0442\u044c\u0441\u044f:<\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0438<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p>\u0413\u0440\u0430\u0444 \u043d\u0430 32 \u0443\u0437\u043b\u0430 \u0438 27 \u0441\u0432\u044f\u0437\u0435\u0439:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/6w\/hx\/7_\/6whx7_w9dsklixk36xftdekw7ba.png\"><\/p>\n<p>  <\/p>\n<p>\u0413\u0440\u0430\u0444 \u043d\u0430 37 \u0443\u0437\u043b\u043e\u0432 \u0438 41 \u0441\u0432\u044f\u0437\u044c:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/g3\/w_\/s6\/g3w_s6vbsnj2qeqkxcwfcdbv1-o.png\"><\/p>\n<p>  <\/p>\n<p>\u0413\u0440\u0430\u0444 \u043d\u0430 57 \u0443\u0437\u043b\u043e\u0432 \u0438 54 \u0441\u0432\u044f\u0437\u0438:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/95\/ro\/pj\/95ropjc-kp3qwmogxz17r6ecg18.png\"><\/p>\n<p>  <\/p>\n<p>\u0413\u0440\u0430\u0444 \u043d\u0430 350 \u0443\u0437\u043b\u043e\u0432 \u0438 332 \u0441\u0432\u044f\u0437\u0438:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/fn\/z-\/5w\/fnz-5wrc3lqhzm5vkgde-fhb7u0.png\"><\/p>\n<\/div><\/div>\n<p>  <\/p>\n<h3 id=\"rezyume-i-perspektivy\">\u0420\u0435\u0437\u044e\u043c\u0435 \u0438 \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u044b<\/h3>\n<p>  <\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b\u0438\u0441\u044c, \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c JSON-\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0433\u0440\u0430\u0444\u0430 EIP-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 Spring Integration. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c \u0441 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u043c\u0438 \u043a \u0421\u0423\u0411\u0414 Neo4j \u0434\u043b\u044f \u0437\u0430\u043b\u0438\u0432\u043a\u0438 \u0433\u0440\u0430\u0444\u0430 \u0432 \u043d\u0435\u0451. \u0421\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Cypher \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0430 \u201c\u043a\u0430\u043a \u0435\u0441\u0442\u044c\u201d \u0438 \u043f\u043e\u043d\u044f\u043b\u0438, \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043d\u0438\u043c \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e. \u0422\u043e\u0433\u0434\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043b\u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0435 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u043b\u0438 \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u0440\u0435\u0434\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439 \u0443\u0437\u043b\u043e\u0432 \u0438 \u0441\u0432\u044f\u0437\u0435\u0439. \u0418 \u0445\u043e\u0442\u044f \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0435 \u0441\u0442\u0430\u043b \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044b\u043c, \u043e\u043d \u0432\u043f\u043e\u043b\u043d\u0435 \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043e \u0441\u0432\u043e\u0435\u0439 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 (\u0447\u0442\u043e \u0432\u0438\u0434\u043d\u043e \u043f\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c) \u0438 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043e\u0439 \u0434\u043b\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0431\u043e\u043b\u0435\u0435 \u043c\u043e\u0449\u043d\u043e\u0433\u043e Cypher-\u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0434 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u0446\u0435\u043b\u0438.<\/p>\n<p>  <\/p>\n<p>\u041c\u044b \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u2013 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 <a href=\"https:\/\/neo4j.com\/developer\/neo4j-browser\/\" rel=\"nofollow\">Neo4j Browser<\/a>. \u041e\u043d \u0443\u0434\u043e\u0431\u0435\u043d \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0441\u0442\u0430\u0440\u0442\u0430, \u043d\u043e \u043d\u0435 \u0432\u0441\u0435\u043c\u043e\u0433\u0443\u0449; \u043a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u0435\u0441\u0442\u044c <a href=\"https:\/\/neo4j.com\/developer\/tools-graph-visualization\/\" rel=\"nofollow\">\u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b<\/a>. \u0422\u0430\u043a\u0436\u0435 \u0432\u0430\u0436\u043d\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c, \u0447\u0442\u043e \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u2013 \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u0432 \u0433\u0440\u0430\u0444\u043e\u0432\u0443\u044e \u0411\u0414. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044f\u0437\u044b\u043a\u0430 Cypher \u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 <a href=\"https:\/\/neo4j.com\/docs\/graph-data-science\/current\/\" rel=\"nofollow\">\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<\/a> \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0442\u044c \u0438\u0437 \u0433\u0440\u0430\u0444\u0430 \u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430, \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0430 \u0438 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0443\u0437\u043d\u0430\u0442\u044c \u0447\u0438\u0441\u043b\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043f\u043e \u0442\u0438\u043f\u0430\u043c\/\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c\/\u0441\u0432\u044f\u0437\u044f\u043c, \u043d\u0430\u0439\u0442\u0438 \u0441\u0430\u043c\u0443\u044e \u0434\u043b\u0438\u043d\u043d\u0443\u044e\/\u043a\u043e\u0440\u043e\u0442\u043a\u0443\u044e \u0446\u0435\u043f\u043e\u0447\u043a\u0443 \u0441\u0432\u044f\u0437\u0435\u0439, \u0432\u044b\u044f\u0432\u0438\u0442\u044c \u043d\u0435\u0434\u043e\u0441\u0442\u0438\u0436\u0438\u043c\u044b\u0435 \u0443\u0447\u0430\u0441\u0442\u043a\u0438, \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u044b\u0435\/\u043f\u0430\u0440\u0430\u0437\u0438\u0442\u043d\u044b\u0435 \u0443\u0437\u043b\u044b \u0438\/\u0438\u043b\u0438 \u0441\u0432\u044f\u0437\u0438, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0435\/\u0432\u043e\u0441\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0438 \u0442.\u043f. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0435\u0440\u0432\u044b\u0439 \u0448\u0430\u0433 \u043a \u0440\u0435\u0448\u0435\u043d\u0438\u044e \u044d\u0442\u0438\u0445 \u0437\u0430\u0434\u0430\u0447.<\/p>\n<p>  <\/p>\n<p><em>\u041e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u0441 \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u043e\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430 Cypher \u2014 <a href=\"https:\/\/toparvion.pro\/post\/2020\/integraph\/\" rel=\"nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/em><\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/502256\/\"> https:\/\/habr.com\/ru\/post\/502256\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/502256\/\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vt\/cj\/m6\/vtcjm6jzntolnnygzpx3bkqiqtg.png\"><\/p>\n<p>  <\/p>\n<p>\u0424\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a Spring Integration <a href=\"https:\/\/docs.spring.io\/spring-integration\/docs\/5.2.5.RELEASE\/reference\/html\/system-management.html#integration-graph\" rel=\"nofollow\">\u0443\u043c\u0435\u0435\u0442<\/a> \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 <a href=\"https:\/\/www.enterpriseintegrationpatterns.com\/\" rel=\"nofollow\">EIP<\/a>-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0438 \u0438\u0445 \u0441\u0432\u044f\u0437\u0435\u0439 \u0432 \u0432\u0438\u0434\u0435 JSON-\u0433\u0440\u0430\u0444\u0430. \u042d\u0442\u043e \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u0434\u043b\u044f \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0438, \u043d\u043e \u0443\u0432\u044b, \u043d\u0438 \u043e\u0434\u0438\u043d \u0438\u0437 \u043d\u0430\u0433\u0443\u0433\u043b\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 (\u043a\u043e\u0438\u0445 \u0432\u0441\u0435\u0433\u043e-\u0442\u043e <a href=\"https:\/\/github.com\/spring-projects\/spring-flo\/tree\/angular-1.x\/samples\/spring-flo-si\" rel=\"nofollow\">\u0440\u0430\u0437<\/a> \/<a href=\"https:\/\/ordina-jworks.github.io\/architecture\/2018\/01\/27\/Visualizing-your-Spring-Integration-components-and-flows.html\" rel=\"nofollow\">\u0434\u0432\u0430<\/a>) \u043d\u0435 \u0434\u0430\u0451\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e\u0439 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u0438 \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0442\u0430\u043a\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0430. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u043e\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u0440\u0435\u0448\u0438\u0442\u044c \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043f\u0443\u0442\u0435\u043c \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u0433\u0440\u0430\u0444\u0430 \u0432 \u0433\u0440\u0430\u0444\u043e\u0432\u0443\u044e \u0421\u0423\u0411\u0414 <a href=\"https:\/\/neo4j.com\/\" rel=\"nofollow\">Neo4j<\/a>, \u0433\u0434\u0435 \u0442\u0430\u043a\u0430\u044f \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c \u0441\u0442\u043e\u0438\u0442 \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u043c\u0435\u0441\u0442\u0435.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-303698","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/303698","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=303698"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/303698\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=303698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=303698"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=303698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}