Lines Matching refs:hints
20901 hints = context.hints || {},
20902 autoSelect = hints.autoSelect;
26043 function getConnectedDistance(source, hints) { argument
26044 if (!hints) {
26045 hints = {};
26053 var defaultDistance = hints.defaultDistance || DEFAULT_DISTANCE,
26054 direction = hints.direction || 'e',
26055 filter = hints.filter,
26056 getWeight = hints.getWeight || getDefaultWeight,
26057 maxDistance = hints.maxDistance || DEFAULT_MAX_DISTANCE,
26058 reference = hints.reference || 'start';
26243 this.append = function(source, shape, hints) { argument
26256 var newShape = modeling.appendShape(source, shape, position, source.parent, hints);
26287 function getNewShapePosition$1(source, element, hints) { argument
26288 if (!hints) {
26289 hints = {};
26292 var distance = hints.defaultDistance || DEFAULT_DISTANCE;
26669 hints = context.hints || {},
26673 if (hints.autoResize === false) {
26683 hints = context.hints;
26685 var autoResize = hints ? hints.autoResize : true;
26710 hints = context.hints,
26713 if (hints && hints.autoResize === false) {
26726 hints = context.hints,
26730 if (hints && hints.autoResize === false) {
26868 AutoResize.prototype.resize = function(shape, newBounds, hints) { argument
26869 this._modeling.resizeShape(shape, newBounds, null, hints);
26938 BpmnAutoResize.prototype.resize = function(target, newBounds, hints) { argument
26941 this._modeling.resizeLane(target, newBounds, null, hints);
26943 this._modeling.resizeShape(target, newBounds, null, hints);
28896 hints = context.hints || {};
28921 hints.bendpointMove = {
28928 modeling.updateWaypoints(connection, filterRedundantWaypoints(newWaypoints), hints);
28931 hints.docking = 'source';
28934 hints.docking = 'target';
28936 hints.newWaypoints = newWaypoints.reverse();
28939 hints.docking = 'target';
28942 hints.docking = 'source';
28944 hints.newWaypoints = newWaypoints.reverse();
28948 modeling.reconnect(connection, source, target, docking, hints);
29096 hints = context.hints || {},
29100 if (hints.connectionStart) {
29101 drawPreviewHints.connectionStart = hints.connectionStart;
29104 if (hints.connectionEnd) {
29105 drawPreviewHints.connectionEnd = hints.connectionEnd;
29576 var hints = { class in AnonymousFunctionf8d14cd12ba00
29583 modeling.updateWaypoints(connection, croppedWaypoints, hints);
30030 hints = { class in AnonymousFunctionf8d14cd12c200
30039 modeling.connect(source, target, attrs, hints);
30235 ConnectionPreview.prototype.drawPreview = function(context, canConnect, hints) { argument
30237 hints = hints || {};
30241 source = hints.source,
30242 target = hints.target,
30243 waypoints = hints.waypoints,
30244 connectionStart = hints.connectionStart,
30245 connectionEnd = hints.connectionEnd,
30246 noLayout = hints.noLayout,
30247 noCropping = hints.noCropping,
30248 noNoop = hints.noNoop,
30270 !noNoop && this.drawNoopPreview(connectionPreviewGfx, hints);
30283 waypoints: hints.waypoints || connection.waypoints
30313 ConnectionPreview.prototype.drawNoopPreview = function(connectionPreviewGfx, hints) { argument
30314 var source = hints.source,
30315 target = hints.target,
30316 start = hints.connectionStart || getMid(source),
30317 end = hints.connectionEnd || getMid(target);
31735 function canCreate(elements, target, position, source, hints) { argument
31784 var connectionTarget = hints.connectionTarget;
31792 hints: {
31831 hints = context.hints || {};
31847 …var canExecute = context.canExecute = hover && canCreate(elements, hover, position, source, hints);
31877 hints = context.hints || {};
31894 connectionTarget: hints.connectionTarget
31897 elements = modeling.createElements(elements, position, target, assign({}, hints, {
31955 hints: {},
32951 var hints = context.hints;
32953 assign(hints, {
33023 var hints = context && context.hints || {};
33026 hints: hints
33033 return this._paste(elements, context.element, context.point, hints);
33037 hints: hints || {}
33049 CopyPaste.prototype._paste = function(elements, target, position, hints) { argument
33081 return this._modeling.createElements(elements, position, target, assign({}, hints));
34009 function replaceElement(element, target, hints) { argument
34011 hints = hints || {};
34113 hints.moveChildren = false;
34125 hints.moveChildren = false;
34184 newElement = replace.replaceElement(element, newElement, hints);
34186 if (hints.select !== false) {
37593 hints = context.hints || {},
37594 autoResize = hints.autoResize;
37919 hints = context.hints || {},
37922 if (hints.connectionStart || hints.connectionEnd || hints.createElementsBehavior === false) {
39175 if (context.hints && context.hints.createElementsBehavior === false) {
39684 hints = context.hints || {};
39686 if (hints.createElementsBehavior !== false) {
39698 hints = context.hints || {};
39700 if (hints.createElementsBehavior !== false) {
39711 hints = context.hints || {};
39713 if (hints.createElementsBehavior !== false) {
40922 if (!context.hints) {
40923 context.hints = {};
40927 context.hints.autoResize = false;
40942 if (!context.hints) {
40943 context.hints = {};
40947 context.hints.autoResize = shapes.filter(function(shape) {
41142 hints = context.hints,
41152 if (hints && hints.nested) {
41460 if (context.hints && context.hints.createElementsBehavior === false) {
42214 function findNewLabelLineStartIndex(oldWaypoints, newWaypoints, attachment, hints) { argument
42221 if (hints.segmentMove) {
42223 var oldSegmentStartIndex = hints.segmentMove.segmentStartIndex,
42224 newSegmentStartIndex = hints.segmentMove.newSegmentStartIndex;
42241 if (hints.bendpointMove) {
42243 var insert = hints.bendpointMove.insert,
42244 bendpointIndex = hints.bendpointMove.bendpointIndex,
42281 if (hints.connectionStart) {
42285 if (hints.connectionEnd) {
42305 function getLabelAdjustment(label, newWaypoints, oldWaypoints, hints) { argument
42315 … newLabelLineIndex = findNewLabelLineStartIndex(oldWaypoints, newWaypoints, attachment, hints);
42607 hints = context.hints || {};
42609 if (hints.createElementsBehavior === false) {
42645 hints = context.hints || {};
42648 if (labelTarget && hints.unsetLabel !== false) {
42694 hints = assign({}, context.hints),
42699 if (typeof hints.startChanged === 'undefined') {
42700 hints.startChanged = !!hints.connectionStart;
42703 if (typeof hints.endChanged === 'undefined') {
42704 hints.endChanged = !!hints.connectionEnd;
42707 return getLabelAdjustment(label, newWaypoints, oldWaypoints, hints);
42715 hints = context.hints || {};
42717 if (hints.labelBehavior === false) {
44380 hints = context.hints || {},
44381 targetParent = hints.targetParent,
44382 targetAttach = hints.targetAttach;
46868 hints = context.hints || {};
46870 if (hints.attachSupport === false) {
48117 hints = context.hints || {},
48120 if (!context.cropped && hints.createElementsBehavior !== false) {
49105 hints = context.hints || {};
49111 target, { attach: hints.attach });
49117 var hints = context.hints || {};
49122 if (hints.connectionTarget === context.source) {
49163 hints = context.hints;
49177 connection.waypoints = this._layouter.layoutConnection(connection, hints);
49212 hints = context.hints;
49259 hints
49266 hints
49272 var createShapeHints = assign({}, hints);
49782 connection.waypoints = this._layouter.layoutConnection(connection, context.hints);
49998 var hints = context.hints,
50001 if (hints && hints.primaryShape) {
50002 primaryShape = hints.primaryShape;
50003 hints.oldParent = primaryShape.parent;
50058 hints = context.hints;
50062 if (hints.layout !== false) {
50077 if (hints.recurse !== false) {
50156 hints = context.hints || {};
50160 if (hints.connectionStart) {
50161 layoutConnectionHints.connectionStart = hints.connectionStart;
50164 if (hints.connectionEnd) {
50165 layoutConnectionHints.connectionEnd = hints.connectionEnd;
50168 if (hints.layoutConnection === false) {
50172 if (newSource && (!newTarget || hints.docking === 'source')) {
50177 if (newTarget && (!newSource || hints.docking === 'target')) {
50182 if (hints.newWaypoints) {
50183 layoutConnectionHints.waypoints = hints.newWaypoints;
50254 hints = context.hints || {},
50280 self.createShape(newData, position, oldShape.parent, hints);
50290 if (hints.moveChildren !== false) {
50293 modeling.moveElements(children, { x: 0, y: 0 }, newShape, hints);
50308 hints
50321 hints
50344 ReplaceShapeHandler.prototype.createShape = function(shape, position, target, hints) { argument
50345 return this._modeling.createShape(shape, position, target, hints);
50349 …ReplaceShapeHandler.prototype.reconnectStart = function(connection, newSource, dockingPoint, hints… argument
50350 this._modeling.reconnectStart(connection, newSource, dockingPoint, hints);
50354 ReplaceShapeHandler.prototype.reconnectEnd = function(connection, newTarget, dockingPoint, hints) { argument
50355 this._modeling.reconnectEnd(connection, newTarget, dockingPoint, hints);
50423 hints = context.hints || {};
50425 if (hints.layout === false) {
50921 Modeling$1.prototype.moveShape = function(shape, delta, newParent, newParentIndex, hints) { argument
50924 hints = newParentIndex;
50933 hints: hints || {} property in AnonymousFunctionf8d14cd15bc00.context
50966 Modeling$1.prototype.moveElements = function(shapes, delta, target, hints) { argument
50968 hints = hints || {};
50970 var attach = hints.attach;
50989 hints: hints
50996 …Modeling$1.prototype.moveConnection = function(connection, delta, newParent, newParentIndex, hints… argument
50999 hints = newParentIndex;
51008 hints: hints || {} property in AnonymousFunctionf8d14cd15bf00.context
51015 Modeling$1.prototype.layoutConnection = function(connection, hints) { argument
51018 hints: hints || {} property in AnonymousFunctionf8d14cd15c000.context
51037 …g$1.prototype.createConnection = function(source, target, parentIndex, connection, parent, hints) { argument
51040 hints = parent;
51054 hints: hints property in AnonymousFunctionf8d14cd15c100.context
51075 Modeling$1.prototype.createShape = function(shape, position, target, parentIndex, hints) { argument
51078 hints = parentIndex;
51082 hints = hints || {};
51084 var attach = hints.attach,
51103 hints: hints
51112 Modeling$1.prototype.createElements = function(elements, position, parent, parentIndex, hints) { argument
51118 hints = parentIndex;
51122 hints = hints || {};
51129 hints: hints property in AnonymousFunctionf8d14cd15c300.context
51170 Modeling$1.prototype.appendShape = function(source, shape, position, target, hints) { argument
51172 hints = hints || {};
51181 connection: hints.connection,
51182 connectionParent: hints.connectionParent,
51183 hints: hints property in AnonymousFunctionf8d14cd15c500.context
51212 Modeling$1.prototype.removeShape = function(shape, hints) { argument
51215 hints: hints || {} property in AnonymousFunctionf8d14cd15c800.context
51222 Modeling$1.prototype.removeConnection = function(connection, hints) { argument
51225 hints: hints || {} property in AnonymousFunctionf8d14cd15c900.context
51231 Modeling$1.prototype.replaceShape = function(oldShape, newShape, hints) { argument
51235 hints: hints || {} property in AnonymousFunctionf8d14cd15ca00.context
51252 Modeling$1.prototype.resizeShape = function(shape, newBounds, minBounds, hints) { argument
51257 hints: hints property in AnonymousFunctionf8d14cd15cc00.context
51275 Modeling$1.prototype.updateWaypoints = function(connection, newWaypoints, hints) { argument
51279 hints: hints || {} property in AnonymousFunctionf8d14cd15ce00.context
51285 Modeling$1.prototype.reconnect = function(connection, source, target, dockingOrPoints, hints) { argument
51291 hints: hints || {} property in AnonymousFunctionf8d14cd15cf00.context
51297 Modeling$1.prototype.reconnectStart = function(connection, newSource, dockingOrPoints, hints) { argument
51298 if (!hints) {
51299 hints = {};
51302 this.reconnect(connection, newSource, connection.target, dockingOrPoints, assign(hints, {
51307 Modeling$1.prototype.reconnectEnd = function(connection, newTarget, dockingOrPoints, hints) { argument
51308 if (!hints) {
51309 hints = {};
51312 this.reconnect(connection, connection.source, newTarget, dockingOrPoints, assign(hints, {
51317 Modeling$1.prototype.connect = function(source, target, attrs, hints) { argument
51318 return this.createConnection(source, target, attrs || {}, source.parent, hints);
51329 Modeling$1.prototype.toggleCollapse = function(shape, hints) { argument
51332 hints: hints || {} property in AnonymousFunctionf8d14cd15d400.context
52401 hints = ctx.hints || {};
52410 if (hints.removeShape !== false) {
52496 Modeling.prototype.updateLabel = function(element, newLabel, newBounds, hints) { argument
52501 hints: hints || {}
52506 Modeling.prototype.connect = function(source, target, attrs, hints) { argument
52518 return this.createConnection(source, target, attrs, source.parent, hints);
52660 BaseLayouter.prototype.layoutConnection = function(connection, hints) { argument
52662 hints = hints || {};
52665 hints.connectionStart || getMid(hints.source || connection.source),
52666 hints.connectionEnd || getMid(hints.target || connection.target)
52941 function connectRectangles(source, target, start, end, hints) { argument
52943 var preferredLayouts = hints && hints.preferredLayouts || [];
52983 function repairConnection(source, target, start, end, waypoints, hints) { argument
52987 hints = end;
52993 hints = assign({ preferredLayouts: [] }, hints);
52996 var preferredLayouts = hints.preferredLayouts,
53004 repairedWaypoints = preferStraight && tryLayoutStraight(source, target, start, end, hints);
53011 … repairedWaypoints = hints.connectionEnd && tryRepairConnectionEnd(target, source, end, waypoints);
53018 …repairedWaypoints = hints.connectionStart && tryRepairConnectionStart(source, target, start, waypo…
53025 if (!hints.connectionStart && !hints.connectionEnd && waypoints && waypoints.length) {
53030 return connectRectangles(source, target, start, end, hints);
53058 function tryLayoutStraight(source, target, start, end, hints) { argument
53079 if (hints.preserveDocking === 'target') {
53426 BpmnLayouter.prototype.layoutConnection = function(connection, hints) { argument
53427 if (!hints) {
53428 hints = {};
53431 var source = hints.source || connection.source,
53432 target = hints.target || connection.target,
53433 waypoints = hints.waypoints || connection.waypoints,
53434 connectionStart = hints.connectionStart,
53435 connectionEnd = hints.connectionEnd;
53493 manhattanOptions = assign(manhattanOptions, hints);
55478 hints: {