You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/md/core/init.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ An instance of Cytoscape.js has a number of options that can be set on initialis
70
70
### Very commonly used options
71
71
72
72
<spanid="init-opts/container"></span>
73
-
**`container`** : A HTML DOM element in which the graph should be rendered. This is unspecified if Cytoscape.js is run headlessly. The container is expected to be an empty div; the visualisation owns the div.
73
+
**`container`** : A HTML DOM element in which the graph should be rendered. This is unspecified if Cytoscape.js is run headlessly. The container is expected to be an empty div with its own width and height set by the page's styles; the visualisation owns the div's contents.
74
74
75
75
<spanid="init-opts/elements"></span>
76
76
**`elements`** : An array of [elements specified as plain objects](#notation/elements-json). For convenience, this option can alternatively be specified as a promise that resolves to the elements JSON.
0 commit comments