We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb378c4 commit f9b95d1Copy full SHA for f9b95d1
src/stepfunctions/workflow/widgets/graph.py
@@ -55,8 +55,10 @@
55
});
56
57
require(['sfn'], function(sfn) {
58
+ var element = document.getElementById('$element_id')
59
+
60
var options = {
- width: $$('#$element_id').width(),
61
+ width: parseFloat(getComputedStyle(element, null).width.replace("px", "")),
62
height: 600,
63
layout: '$layout',
64
resizeHeight: true
@@ -78,8 +80,10 @@
78
80
79
81
82
83
84
85
86
87
height: 1000,
88
89
0 commit comments