We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bad6160 commit dc2cb01Copy full SHA for dc2cb01
packages/diagrams/src/componentDiagram/graph/index.js
@@ -43,6 +43,7 @@ export default class Graph {
43
44
setNodeFromCodeObject(codeObject, parentId = null) {
45
let label = codeObject.prettyName;
46
+ if (!label) return;
47
48
if (codeObject.type === CodeObjectType.PACKAGE || codeObject.type === CodeObjectType.HTTP) {
49
const numChildren = codeObject.childLeafs().length;
@@ -133,6 +134,7 @@ export default class Graph {
133
134
}
135
136
render() {
137
+ console.log('this.graph.nodes(): ', this.graph);
138
dagre.layout(this.graph);
139
140
this.graph.nodes().forEach((id) => {
0 commit comments