          edges:{{edges}}
                },
                ready: function () {
                    window.cy = this;
                },
            });

            cy.style().fromJson({{style_json}}).update();

            cy.layout({
                name: 'cose-bilkent',
                avoidOverlap: true,
                rankSep: 15,
                padding: 5,
                fit: true
            }).run();

            cy.resize();
            cy.fit();

            cy.on('tap', 'node', function (ev