/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Dfa/ |
H A D | DFA.php | 55 $precedenceState->edges = new \SplFixedArray(); 66 * The {@see DFAState::$edges} array for this start state contains outgoing 67 * edges supplying individual start states corresponding to specific 96 if ($this->s0->edges === null) { 97 throw new \RuntimeException('s0.edges cannot be null for a precedence DFA.'); 100 if ($precedence < 0 || $precedence >= \count($this->s0->edges)) { 104 return $this->s0->edges[$precedence] ?? null; 126 if ($this->s0->edges === null) { 127 throw new \RuntimeException('Unexpected null edges.'); 130 if ($precedence >= $this->s0->edges [all...] |
H A D | DFASerializer.php | 37 $count = $state->edges === null ? 0 : $state->edges->count(); 41 $t = $state->edges[$i];
|
H A D | DFAState.php | 47 * `edges[symbol]` points to target of symbol. Shift up by 1 so (-1) 48 * {@see Token::EOF} maps to `edges[0]`. 52 public $edges; variable in Antlr\\Antlr4\\Runtime\\Dfa\\DFAState
|
/plugin/diagramsnet/lib/plugins/trees/ |
H A D | trees.js | 99 var edges = graph.getIncomingEdges(cell); 101 if (edges != null && edges.length > 0) 128 if (edges != null && edges.length > 0) 236 cells = cells.concat(edges); 271 for (var j = 0; j < edges.length; j++) 273 mxUtils.remove(edges[j], cells); 339 if (edges.length > 0) 375 if (edges.length > 0) 465 if (edges.length > 0) 807 if (edges != null && edges.length > 0) [all …]
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudIdentity/ |
H A D | MembershipAdjacencyList.php | 33 public function setEdges($edges) argument 35 $this->edges = $edges; 42 return $this->edges;
|
/plugin/diagramsnet/lib/js/diagramly/ |
H A D | Trees.js | 274 if (edges != null && edges.length > 0) 301 if (edges != null && edges.length > 0) 406 cells = cells.concat(edges); 442 for (var j = 0; j < edges.length; j++) 444 mxUtils.remove(edges[j], cells); 511 if (edges.length > 0) 549 if (edges.length > 0) 643 if (edges.length > 0) 901 if (edges.length == 0) 955 for (var i = 0; i < edges.length; i++) [all …]
|
H A D | Editor.js | 405 state.edges.length == 0 && graph.isTableCell(state.vertices[0]); 412 state.edges.length == 0 && graph.isTableCell(state.vertices[0]); 466 return state.vertices.length == 1 && state.edges.length == 0; 484 return state.vertices.length == 1 && state.edges.length == 0; 494 return state.vertices.length == 1 && state.edges.length == 0; 505 return state.vertices.length == 1 && state.edges.length == 0; 4534 var edges = sstate.edges; 4541 for (var i = 0; i < edges.length; i++) 5108 if (state.vertices.length == 1 && state.edges.length == 0) 5112 else if (state.vertices.length == 0 && state.edges.length == 1) [all …]
|
H A D | DiffSync.js | 36 source: true, target: true, edges: true, geometry: true, style: true,
|
H A D | EditorUi.js | 12931 var edges = []; 13030 edges.push(JSON.parse(value)); 13092 if (edges != null) 13094 for (var e = 0; e < edges.length; e++) 13096 if (lookups[edges[e].to] == null) 13098 lookups[edges[e].to] = {}; 13191 for (var e = 0; e < edges.length; e++) 13193 lookups[edges[e].to][cell.getAttribute(edges[e].to)] = cell; 13294 for (var e = 0; e < edges.length; e++) 13296 var edge = edges[e];
|
/plugin/diagramsnet/lib/plugins/ |
H A D | explore.js | 296 var edges = sourceGraph.getEdges(sourceCell, null, true, true, false, true); 297 var cells = edges; 300 if (cell.startIndex != null || (pageSize > 0 && edges.length > pageSize)) 304 cells = edges.slice(Math.max(0, start), Math.min(edges.length, start + pageSize)); 336 if (edges.length > (cell.startIndex || 0) + pageSize)
|
H A D | voice.js | 1302 var edges = graph.getAllEdges(graph.getSelectionCells()); 1304 if (edges.length > 0) 1306 graph.setSelectionCells(edges);
|
/plugin/graphgear/ |
H A D | syntax.php | 14 var $edges; variable in syntax_plugin_graphgear 181 foreach($this->edges as $edge){ 220 if($from && $to) $this->edges[] = array($from,$to,(array)$opts);
|
/plugin/diagramsnet/lib/plugins/webcola/ |
H A D | mxWebColaLayout.js | 76 var edges = this.graph.getEdges(parent, null, true, true, true, true); 79 if (edges.length != 0) 82 for (var i = 0; i < edges.length; i++) 84 var edge = edges[i];
|
/plugin/jdraw/src/com/mxgraph/examples/swing/ |
H A D | GraphEditor.java.bak | 86 // Sets the edge template to be used for creating new edges if an edge 425 * type (eg. both vertices or both edges). 457 * A graph that creates new edges from a given template edge. 462 * Holds the edge to be used as a template for inserting new edges. 468 * the middle control point of edges is double clicked (flipped). 476 * Sets the edge template to be used to inserting edges. 574 * new edges.
|
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/ |
H A D | LexerATNSimulator.php | 222 // that already has lots of edges out of it. e.g., .* in comments. 270 if ($s->edges === null || $t < self::MIN_DFA_EDGE || $t > self::MAX_DFA_EDGE) { 274 $target = $s->edges[$t - self::MIN_DFA_EDGE] ?? null; 758 // Only track edges within the DFA bounds 766 if ($from->edges === null) { 768 $from->edges = new \SplFixedArray(self::MAX_DFA_EDGE - self::MIN_DFA_EDGE + 1); 771 $from->edges[$t - self::MIN_DFA_EDGE] = $to; // connect
|
H A D | ParserATNSimulator.php | 173 * decision when setting the {@see DFAState::$edges} field. 185 * It follows the {@see DFAState::$edges} field to new targets. The DFA simulator 186 * will either find {@see DFAState::$edges} to be `null`, to be non-`null` and 187 * `dfa.edges[t]` null, or `dfa.edges[t]` to be non-null. The 190 * simulation. It could also race trying to get `dfa.edges[t]`, but either 627 $edges = $previousD->edges; 629 if ($edges === null || $t + 1 < 0 || $t + 1 >= $edges [all...] |
/plugin/stlviewer/stlviewer/ |
H A D | stl_viewer.min.js | 2 var stl_viewer_script_path="";function StlViewer(e,t){e||console.log("error: no parent element");var o=this;this.error=null,this.options=t,this.parent_element=e,this.get_opt=function(e,t){return o.options?!1!==o.options[e]&&(o.options[e]?o.options[e]:t):t},this.canvas_width="100%",this.canvas_height="100%",this.bg_color="transparent",this.models_to_add=[],this.models=new Array,this.models_count=0,this.models_ref=new Array,this.allow_drag_and_drop=o.get_opt("allow_drag_and_drop",!0),this.model_loaded_callback=null,this.all_loaded_callback=null,this.load_error_callback=null,this.loading_progress_callback=null,this.max_model_id=0,this.load_status=new Array,this.load_session=0,this.loaded_models_arr=new Array,this.status=0,this.onmousedown_callback=null,this.zoom=-1,this.camerax=0,this.cameray=0,this.cameraz=0,this.camera_state=null,this.auto_rotate=!1,this.mouse_zoom=!0,this.load_three_files=o.get_opt("load_three_files",stl_viewer_script_path),this.ready="undefined"!=typeof THREE,this.ready_callback=null,this.jszip_path=null,this.jszip_utils_path=null,this.auto_resize=!0,this.on_model_drop=null,this.center_models=!0,this.controls_type=0,this.zoom=-1,this.pre_loaded_ab_files=null,this.pre_loaded_vsj=null,this.zip_load_count=-1,this.send_no_model_click_event=!1,this.grid=null,this.killsign=!1,this.default_face_color="#909090",this.set_on_model_mousedown=function(e){o.onmousedown_callback=e,o.onmousedown_callback&&(o.parent_element.addEventListener("mousedown",o.onmousedown),o.parent_element.addEventListener("dblclick",o.onmousedown),o.parent_element.addEventListener("touchstart",o.onmousedown))},this.set_drag_and_drop=function(e){e?(o.parent_element.addEventListener("dragover",o.handleDragOver),o.parent_element.addEventListener("drop",o.handleFileDrop)):(o.parent_element.removeEventListener("dragover",o.handleDragOver),o.parent_element.removeEventListener("drop",o.handleFileDrop))},this.set_options=function(){o.canvas_width=o.get_opt("width",o.canvas_width),o.canvas_height=o.get_opt("height",o.canvas_height),o.bg_color=o.get_opt("bg_color",o.bg_color),o.models_to_add=o.get_opt("models",o.models_to_add),o.model_loaded_callback=o.get_opt("model_loaded_callback",o.model_loaded_callback),o.all_loaded_callback=o.get_opt("all_loaded_callback",o.all_loaded_callback),o.load_error_callback=o.get_opt("load_error_callback",o.load_error_callback),o.loading_progress_callback=o.get_opt("loading_progress_callback",o.loading_progress_callback),o.onmousedown_callback=o.get_opt("on_model_mousedown",o.onmousedown_callback),o.onmousedown_callback||(o.onmousedown_callback=o.get_opt("on_model_mouseclick",null)),o.send_no_model_click_event=o.get_opt("send_no_model_click_event",o.send_no_model_click_event),o.zoom=o.get_opt("zoom",o.zoom),o.camerax=o.get_opt("camerax",o.camerax),o.cameray=o.get_opt("cameray",o.cameray),o.auto_rotate=o.get_opt("auto_rotate",o.auto_rotate),o.mouse_zoom=o.get_opt("mouse_zoom",o.mouse_zoom),o.ready_callback=o.get_opt("ready_callback",null),o.jszip_path=o.get_opt("jszip_path",null),o.jszip_utils_path=o.get_opt("jszip_utils_path",null),o.auto_resize=o.get_opt("auto_resize",o.auto_resize),o.on_model_drop=o.get_opt("on_model_drop",o.on_model_drop),o.center_models=o.get_opt("center_models",o.center_models),o.controls_type=o.get_opt("controls",o.controls_type),o.grid=o.get_opt("grid",!!o.grid),o.zoom>=0?o.cameraz=o.zoom:o.cameraz=o.get_opt("cameraz",o.cameraz),o.camera_state=o.get_opt("camera_state",o.camera_state),o.allow_drag_and_drop&&o.set_drag_and_drop(!0)},o.is_ie=!!window.MSStream,this.MSG2WORKER_DATA=0,this.MSG2WORKER_LOAD=1,this.MSG2WORKER_ERROR=2,this.MSGFROMWORKER_STL_LOADED=3,this.MSGFROMWORKER_LOAD_IN_PROGRESS=4,this.load_model=function(e){return o.max_model_id=Math.max(o.max_model_id,e.id),e.filename||e.local_file?o.load_from_stl_file(e,!1):e.mesh?o.add_from_existing_mesh(e):void o.models_count--},this.add_from_existing_mesh=function(e){o.set_model_custom_props(e),e.mesh.model_id=e.id,o.set_geo_minmax(e),o.recalc_dims(e),e.color="#"+e.mesh.material.color.getHexString(),o.scene.add(e.mesh),o.model_loaded(e.id),o.check_loading_status(e,0,0),e.mesh.geometry.boundingBox||e.mesh.geometry.computeBoundingBox(),o.model_loaded_callback&&o.model_loaded_callback(e.id)},this.load_from_stl_file=function(e){var t=new Worker(("string"==typeof o.load_three_files?o.load_three_files:"")+"load_stl.min.js");t.onmessage=function(a){switch(a.data.msg_type){case o.MSGFROMWORKER_STL_LOADED:e.colors=a.data.colors;var i=o.vf_to_geo(a.data.vertices,a.data.faces,!!a.data.colors&&a.data.colors,e.color);if(i){var n=new THREE.MeshLambertMaterial({color:9474192,wireframe:!1,vertexColors:e.color?THREE.NoColors:THREE.FaceColors});o.is_ie||(n.side=THREE.DoubleSide),e.display||(e.display="flat"),o.set_material_display(e.display,n,i),e.mesh=new THREE.Mesh(i,n),o.set_model_custom_props(e),o.set_geo_minmax(e),e.mesh.model_id=e.id,o.recalc_dims(e),o.scene.add(e.mesh),o.model_loaded(e.id),o.model_loaded_callback&&o.model_loaded_callback(e.id)}else console.log("Error VF data ");t.terminate(),t=void 0,o.pre_loaded_ab_files&&e.filename&&o.pre_loaded_ab_files[e.filename]&&delete o.pre_loaded_ab_files[e.filename];break;case o.MSGFROMWORKER_LOAD_IN_PROGRESS:o.check_loading_status(e,a.data.loaded,a.data.total);break;case o.MSG2WORKER_ERROR:o.models_count--,o.model_error("ERROR: "+a.data.data,o.load_error_callback),o.pre_loaded_ab_files&&e.filename&&o.pre_loaded_ab_files[e.filename]&&delete o.pre_loaded_ab_files[e.filename]}},e.bytes_loaded=0,e.bytes_total=0;var a=null;o.pre_loaded_ab_files&&e.filename&&o.pre_loaded_ab_files[e.filename]&&(a=o.pre_loaded_ab_files[e.filename]),t.postMessage({msg_type:o.MSG2WORKER_DATA,data:e,load_from_blob_or_ab:a,get_progress:null!=o.loading_progress_callback,jszip_path:o.jszip_path}),t.postMessage({msg_type:o.MSG2WORKER_LOAD})},this.model_loaded=function(e){o.loaded_models_arr[e]=1,Object.keys(o.loaded_models_arr).length>=o.models_count&&(o.camera_state?o.camera_state=null:o.set_zoom(),o.set_light(),o.set_grid(!!o.grid),o.load_session++,o.all_loaded_callback&&o.all_loaded_callback())},this.set_grid=function(e,t,a){if(o.grid&&o.scene.remove(o.grid),o.grid=null,e){if(t||(t=2.5*Math.max(Math.abs(o.maxx),Math.abs(o.minx))),t<=0){var i=isNaN(window.innerHeight)?window.clientHeight:window.innerHeight,n=isNaN(window.innerWidth)?window.clientWidth:window.innerWidth;t=.8*Math.min(i,n)}a||(a=10),o.grid=new THREE.GridHelper(t,a),o.scene.add(o.grid)}},this.remove_model=function(e){if(void 0===o.models_ref[e])return o.model_error("remove_model - id not found: "+e);var t=o.models[o.models_ref[e]];t&&(o.set_or_update_geo_edges(t,!1),delete o.models[o.models_ref[e]],delete o.models_ref[e],delete o.loaded_models_arr[e],o.max_model_id=-1,Object.keys(o.models_ref).forEach(function(e){o.max_model_id=Math.max(o.models[o.models_ref[e]].id,o.max_model_id)}),o.models_count=Object.keys(o.models).length,o.scene.remove(t.mesh))},this.zoom_done=!1,this.set_zoom=function(e,t){if(e&&(o.zoom=e),o.zoom_done&&!t)return;o.zoom_done=!0;var a=o.zoom;o.zoom<0&&(a=o.calc_z_for_auto_zoom()),o.camera.position.set(o.camera.position.x,o.camera.position.y,a);const i=o.minz,n=i<0?-i+a:a-i;o.camera.far=Math.max(3e3*n,o.camera.far),o.camera.updateProjectionMatrix()},this.calc_z_for_auto_zoom=function(e){e=e||1.01;const t=new THREE.Box3(new THREE.Vector3(o.minx,o.miny,o.minz),new THREE.Vector3(o.maxx,o.maxy,o.maxz));var a=new THREE.Vector3;t.getSize(a);const i=o.camera.fov*(Math.PI/180),n=2*Math.atan(Math.tan(i/2)*o.camera.aspect);let l=a.z/2+Math.abs(a.x/2/Math.tan(n/2)),s=a.z/2+Math.abs(a.y/2/Math.tan(i/2)),r=Math.max(l,s);return r*=e},this.get_camera_state=function(){if(!o.camera)return null;var e=new THREE.Vector3,t=new THREE.Vector3,a=new THREE.Vector3(0,0,0);return e.copy(o.camera.position),t.copy(o.camera.up),o.controls&&a.copy(o.controls.target),{position:e,up:t,target:a}},this.set_camera_state=function(e){if(!o.camera)return null;if(!e)return o.model_error("set_camera_state - no state vector");if(void 0!==e.position){if(void 0===e.position.x)return o.model_error("set_camera_state - invalid position x");if(void 0===e.position.y)return o.model_error("set_camera_state - invalid position y");if(void 0===e.position.z)return o.model_error("set_camera_state - invalid position z");o.camera.position.set(e.position.x,e.position.y,e.position.z)}if(void 0!==e.up){if(void 0===e.up.x)return o.model_error("set_camera_state invalid up x");if(void 0===e.up.y)return o.model_error("set_camera_state invalid up y");if(void 0===e.up.z)return o.model_error("set_camera_state invalid up z");o.camera.up.set(e.up.x,e.up.y,e.up.z)}if(o.controls&&void 0!==e.target){if(void 0===e.target.x)return o.model_error("set_camera_state - invalid target x");if(void 0===e.target.y)return o.model_error("set_camera_state - invalid target y");if(void 0===e.target.z)return o.model_error("set_camera_state - invalid target z");o.controls.target.set(e.target.x,e.target.y,e.target.z)}},this.set_center_models=function(e){o.center_models=e},this.set_light=function(){o.directionalLight.position.x=2*o.maxy,o.directionalLight.position.y=2*o.miny,o.directionalLight.position.z=2*o.maxz,o.pointLight.position.x=(o.miny+o.maxy)/2,o.pointLight.position.y=(o.miny+o.maxy)/2,o.pointLight.position.z=2*o.maxz},this.stop_auto_zoom=function(){o.zoom=o.camera.position.z,o.zoom_done=!0},this.set_camera=function(e,t,a){t&&(o.zoom=t),o.camera.position.set(o.is_empty(e)?o.camera.position.x:e,o.is_empty(t)?o.camera.position.y:t,o.is_empty(a)?o.camera.position.z:a)},this.set_auto_zoom=function(){o.set_zoom(-1)},this.check_loading_status=function(e,t,a){e&&(o.load_status[e.id]={loaded:t,total:a,load_session:o.load_session}),o.loading_progress_callback&&Object.keys(o.load_status).length==o.models_count&&o.loading_progress_callback(o.load_status,o.load_session)},this.set_edges=function(e,t){if(void 0===o.models_ref[e])return o.model_error("set_edges - id not found: "+e);var a=o.models[o.models_ref[e]];a&&o.set_or_update_geo_edges(a,t)},this.set_or_update_geo_edges=function(e,t,a){if(t&&!a||(e.edges&&o.scene.remove(e.edges),e.edges=null,t)){var i=!1;if(a=a||!1,!e.edges||a){var n=e.mesh.geometry;e.edges=new THREE.LineSegments(new THREE.EdgesGeometry(n),o.edges_material),i=!0}(e.x||e.y||e.z)&&e.edges.position.set(e.x?e.x:0,e.y?e.y:0,e.z?e.z:0),e.edges.rotation.setFromRotationMatrix(e.mesh.matrix),i&&o.scene.add(e.edges)}},this.set_model_custom_props=function(e){e.units=e.units?e.units:"mm",o.set_model_units(e.id,e.units,!0),e.x=e.x?e.x:0,e.y=e.y?e.y:0,e.z=e.z?e.z:0,e.mesh.position.set(e.x,e.y,e.z),e.color?o.update_mesh_color(e.mesh,e.color,!1):e.colors&&o.update_mesh_color(e.mesh,"#FFFFFF",!0),e.rotationx=e.rotationx?e.rotationx:0,e.rotationy=e.rotationy?e.rotationy:0,e.rotationz=e.rotationz?e.rotationz:0,(e.rotationx||e.rotationy||e.rotationz)&&o.set_rotation(e.id,e.rotationx,e.rotationy,e.rotationz);var t=void 0!==e.scale?e.scale:1,a=void 0!==e.scalex?e.scalex:t,i=void 0!==e.scaley?e.scaley:t,n=void 0!==e.scalez?e.scalez:t;e.scalex=a,e.scaley=i,e.scalez=n,1==a&&1==i&&1==n||o.scale_geo(e,a,i,n),e.view_edges&&o.set_or_update_geo_edges(e,!0),void 0!==e.opacity&&this.set_material_opacity(e.mesh.material,e.opacity),e.animation&&(o.animation[e.id]=1)},this.set_scale=function(e,t,a,i,n){if(void 0===o.models_ref[e])return o.model_error("set_scale - id not found: "+e);var l=o.models[o.models_ref[e]];if(l&&l.mesh&&l.mesh.geometry){var s=Math.max(l.scalex,.01),r=Math.max(l.scaley,.01),d=Math.max(l.scalez,.01);t&&(l.scalex=Math.max(t,.01)),l.scaley=Math.max(a||t,.01),l.scalez=Math.max(i||t,.01),o.scale_geo(l,l.scalex/s,l.scaley/r,l.scalez/d),l.edges&&o.set_or_update_geo_edges(l,!0,!0),n&&(l.scalex=s,l.scaley=r,l.scalez=d)}},this.scale_geo=function(e,t,o,a){e.mesh.geometry.scale(t,o,a)},this.recalc_dims=function(e){var t=e.mesh.geometry;o.maxx=o.maxx?Math.max(o.maxx,t.maxx+e.x):t.maxx+e.x,o.maxy=o.maxy?Math.max(o.maxy,t.maxy+e.y):t.maxy+e.y,o.maxz=o.maxz?Math.max(o.maxz,t.maxz+e.z):t.maxz+e.z,o.minx=o.maxx?Math.min(o.minx,t.minx+e.x):t.minx+e.x,o.miny=o.maxy?Math.min(o.miny,t.miny+e.y):t.miny+e.y,o.minz=o.maxz?Math.min(o.minz,t.minz+e.z):t.minz+e.z},this.update_mesh_color=function(e,t,o){null!=e&&("transparent"!=t?(e.traverse(function(e){e.visible=!0}),e.material.vertexColors=o?THREE.FaceColors:THREE.NoColors,o&&!t&&(t="#FFFFFF"),t&&e.material.color.set(parseInt(t.substr(1),16)),e.material.needsUpdate=!0):e.traverse(function(e){e.visible=!1}))},this.set_color=function(e,t){if(void 0===o.models_ref[e])return o.model_error("set_color - id not found: "+e);var a=o.models[o.models_ref[e]];a&&a.mesh&&(t.length<6||("#"!=t.charAt(0)&&(t="#"+t),a.color=t,o.update_mesh_color(a.mesh,t,!t&&a.colors)))},this.error_in_model=function(e){if(!e.id&&0!=e.id&&-1!=e.id)return o.model_error("missing id");if(!Number.isInteger(e.id))return o.model_error("invalid id");if(e.id<-1)return o.model_error("id must be positive");if(!e.filename&&!e.mesh&&!e.local_file){if(!e.name)return o.model_error("missing filename or mesh");e.filename=e.name}return o.models_ref[e.id]?o.model_error("such model ID already exists: "+e.id):null},this.model_error=function(e,t){return console.log(e),o.status=-1,o.error=e,t&&t(e),e},this.set_bg_color=function(e){"transparent"==e?this.renderer.setClearColor(0,0):this.renderer.setClearColor(e,1),o.bg_color=e},this.set_display=function(e,t){if(void 0===o.models_ref[e])return o.model_error("set_display - id not found: "+e);var a=o.models[o.models_ref[e]];a&&(o.set_material_display(t,a.mesh.material,a.mesh.geometry),a.display=t,a.mesh&&(a.mesh.normalsNeedUpdate=!0))},this.set_opacity=function(e,t){if(void 0===o.models_ref[e])return o.model_error("set_display - id not found: "+e);var a=o.models[o.models_ref[e]];a&&(a.opacity=t,this.set_material_opacity(a.mesh.material,t))},this.set_material_opacity=function(e,t){e&&(t<1?(e.opacity=t,e.transparent=!0):(e.opacity=1,e.transparent=!1))},this.onmousedown=function(e){e.stopPropagation(),e.preventDefault();var t=e.which;switch(e.type){case"touchstart":t=20;var a=e.touches[0]||e.changedTouches[0];o.mouse.x=(a.pageX-o.parent_element.offsetLeft)/o.parent_element.clientWidth*2-1,o.mouse.y=-(a.pageY-o.parent_element.offsetTop)/o.parent_element.clientHeight*2+1;break;case"dblclick":t=11;default:o.mouse.x=(e.clientX-o.parent_element.offsetLeft)/o.parent_element.clientWidth*2-1,o.mouse.y=-(e.clientY-o.parent_element.offsetTop)/o.parent_element.clientHeight*2+1}o.raycaster.setFromCamera(o.mouse,o.camera);var i=o.raycaster.intersectObjects(o.scene.children);if(i.length>0){if(void 0===i[0].object.model_id)return;o.onmousedown_callback&&o.onmousedown_callback(i[0].object.model_id,e,i[0].distance,t)}else o.send_no_model_click_event&&o.onmousedown_callback(null,e,0,t)},this.is_empty=function(e){return!e&&0!==e},this.set_model_units=function(e,t,a){if(void 0===o.models_ref[e])return o.model_error("set_model_units - id not found: "+e);var i=o.models[o.models_ref[e]];if(i&&i.mesh){var n=1;switch(t){case"mm":a&&"inch"==i.units&&(n=1/25.4),i.units="mm";break;case"inch":a&&"mm"==i.units&&(n=25.4),i.units="inch";break;default:return o.model_error("set_model_units - invalid unit "+t)}1!=n&&o.set_scale(i.id,i.scalex*n,i.scaley*n,i.scalez*n,!0)}},this.set_position=function(e,t,a,i){if(void 0===o.models_ref[e])return o.model_error("set_position - id not found: "+e);var n=o.models[o.models_ref[e]];n&&n.mesh&&(n.x=o.is_empty(t)?n.x:t,n.y=o.is_empty(a)?n.y:a,n.z=o.is_empty(i)?n.z:i,n.mesh.position.set(n.x,n.y,n.z),n.edges [all...] |
/plugin/diagramsnet/lib/js/diagramly/graphml/ |
H A D | mxGraphMlCodec.js | 32 this.edges = []; 35 for (var i = 0; i < this.edges.length; i++) 37 var edgesObj = this.edges[i]; 38 var edges = edgesObj.edges; 42 for (var j = 0; j < edges.length; j++) 44 this.importEdge(edges[j], graph, parent, dx, dy); 517 this.edges.push({ 518 edges: this.getDirectChildNamedElements(pageElement, mxGraphMlConstants.EDGE),
|
/plugin/revealjs/css/ |
H A D | reveal.css | 386 .reveal .controls[data-controls-layout="edges"] { 391 .reveal .controls[data-controls-layout="edges"] .navigate-left, 392 .reveal .controls[data-controls-layout="edges"] .navigate-right, 393 .reveal .controls[data-controls-layout="edges"] .navigate-up, 394 .reveal .controls[data-controls-layout="edges"] .navigate-down { 397 .reveal .controls[data-controls-layout="edges"] .navigate-left { 401 .reveal .controls[data-controls-layout="edges"] .navigate-right { 405 .reveal .controls[data-controls-layout="edges"] .navigate-up { 409 .reveal .controls[data-controls-layout="edges"] .navigate-down {
|
/plugin/diagramsnet/lib/js/grapheditor/ |
H A D | Menus.js | 1095 var edges = []; 1121 edges.push(cell); 1127 'values', values, 'cells', edges));
|
H A D | Format.js | 196 return {vertices: [], edges: [], cells: [], x: null, y: null, width: null, height: null, 283 result.edges.push(cell); 1673 if (!ss.containsLabel || ss.edges.length == 0) 1678 if (!ss.containsLabel && ss.edges.length == 0 && 2328 if (ss.vertices.length > 0 && ss.edges.length > 0) 2690 if (rect.edges.length == 0 && rect.vertices.length == 1 && 5434 if (ss.edges.length == ss.cells.length) 5555 if (ss.edges.length == ss.cells.length) 5566 if (Graph.lineJumpsEnabled && ss.edges.length > 0 && 5694 if (Graph.lineJumpsEnabled && ss.edges.length > 0 &&
|
H A D | Graph.js | 2173 Graph.prototype.getVerticesAndEdges = function(vertices, edges) argument 2176 edges = (edges != null) ? edges : true; 2181 return (vertices && model.isVertex(cell)) || (edges && model.isEdge(cell)); 2372 Graph.prototype.getCellAt = function(x, y, parent, vertices, edges, ignoreFn) argument 2388 Graph.prototype.getScaledCellAt = function(x, y, parent, vertices, edges, ignoreFn) argument 2391 edges = (edges != null) ? edges : true; 2410 var result = this.getScaledCellAt(x, y, cell, vertices, edges, ignoreFn); 2416 else if (this.isCellVisible(cell) && (edges && this.model.isEdge(cell) || 4571 Graph.prototype.selectCells = function(vertices, edges, parent) argument
|
/plugin/imagecarousel/vendor/slick/ |
H A D | README.markdown | 77 edgeFriction | integer | 0.15 | Resistance when swiping edges of non-infinite carousels
|
/plugin/diagramsnet/lib/js/orgchart/ |
H A D | OrgChart.Layout.min.js | 1 …edges,rect,diff,desiredLeft,desiredRight,verticalSpacer,spacerTop,spacerBottom;for(node.getAssista…
|
/plugin/dirtylittlehelper/script/ |
H A D | mermaid.min.js.map | 1 …edges.js","webpack://mermaid/./src/dagre-wrapper/index.js","webpack://mermaid/./src/diagrams/class…
|