                      },
                            labelLayout: {
                                hideOverlap: true,
                            },
                            force: {
                                repulsion: 100,
                            }
                    }]
                };

                if ("categories" in graph) {
                    option.legend = {
                        data: graph.categories.map(function (c) {
                            return c.name;
            