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
* @param {object} options - The graph configuration. Optional.
18
-
* @param {object} options.initialData - The graph data to initialize the graph with.
19
-
* @param {HTMLElement} options.dom - If supplied, the graph will be attached to this element.
20
-
* @param {object[]} options.contextMenuItems - The context menu items to add to the graph. Optional.
21
-
* @param {boolean} options.readOnly - Whether the graph is read only. Optional. Defaults to false.
22
-
* @param {boolean} options.passiveUIEvents - If true, the graph will not update its data and view upon user interaction. Instead, these interactions can be handled explicitly by listening to fired events. Optional. Defaults to false.
23
-
* @param {boolean} options.incrementNodeNames - Whether the graph should increment the node name when a node with the same name already exists. Optional. Defaults to false.
24
-
* @param {boolean} options.restrictTranslate - Whether the graph should restrict the translate graph operation to the graph area. Optional. Defaults to false.
25
-
* @param {boolean} options.edgeHoverEffect - Whether the graph should show an edge highlight effect when the mouse is hovering over edges. Optional. Defaults to true.
26
-
* @param {boolean} options.includeFonts - If true the graph will include a default font style. Defaults to true.
27
-
* @param {object} options.defaultStyles - Used to override the graph's default styling. Check ./constants.js for a full list of style properties.
28
-
* @param {object} options.adjustVertices - If true, multiple edges conntected between two nodes will be spaced apart.
17
+
* @param {object} [options] - The graph configuration. Optional.
18
+
* @param {object} [options.initialData] - The graph data to initialize the graph with.
19
+
* @param {HTMLElement} [options.dom] - If supplied, the graph will be attached to this element.
20
+
* @param {object[]} [options.contextMenuItems] - The context menu items to add to the graph. Optional.
21
+
* @param {boolean} [options.readOnly] - Whether the graph is read only. Optional. Defaults to false.
22
+
* @param {boolean} [options.passiveUIEvents] - If true, the graph will not update its data and view upon user interaction. Instead, these interactions can be handled explicitly by listening to fired events. Optional. Defaults to false.
23
+
* @param {boolean} [options.incrementNodeNames] - Whether the graph should increment the node name when a node with the same name already exists. Optional. Defaults to false.
24
+
* @param {boolean} [options.restrictTranslate] - Whether the graph should restrict the translate graph operation to the graph area. Optional. Defaults to false.
25
+
* @param {boolean} [options.edgeHoverEffect] - Whether the graph should show an edge highlight effect when the mouse is hovering over edges. Optional. Defaults to true.
26
+
* @param {boolean} [options.includeFonts] - If true the graph will include a default font style. Defaults to true.
27
+
* @param {object} [options.defaultStyles] - Used to override the graph's default styling. Check ./constants.js for a full list of style properties.
28
+
* @param {object} [options.adjustVertices] - If true, multiple edges conntected between two nodes will be spaced apart.
0 commit comments