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 fab5c8a commit ff5be6bCopy full SHA for ff5be6b
src/GraphPlugin.js
@@ -119,6 +119,13 @@ class GraphPlugin {
119
options
120
);
121
122
+ // Workaround for vis-network height bug - adjust based on YASGUI layout
123
+ this.network.once('afterDrawing', () => {
124
+ // Check if horizontal layout is active
125
+ const isHorizontal = document.querySelector('.orientation-horizontal') !== null;
126
+ container.style.height = isHorizontal ? '80vh' : '50vh';
127
+ });
128
+
129
// Track network readiness
130
this.networkReady = false;
131
0 commit comments