MCPcopy Index your code

hub / github.com/artem-mangilev/ngx-vflow / functions

Functions398 in github.com/artem-mangilev/ngx-vflow

↓ 49 callersFunctionisDefined
(data: T | undefined)
projects/ngx-vflow-lib/src/lib/vflow/utils/is-defined.ts:1
↓ 26 callersMethodmodel
()
projects/ngx-vflow-lib/src/lib/vflow/directives/drag-handle.directive.ts:14
↓ 26 callersMethodnodes
(newNodes: Node[])
projects/ngx-vflow-lib/src/lib/vflow/components/vflow/vflow.component.ts:312
↓ 19 callersFunctionsmoothStepPath
( { sourcePoint, targetPoint, sourcePosition, targetPosition }: CurveFactoryParams, borderRadius: number =
projects/ngx-vflow-lib/src/lib/vflow/math/edge-path/smooth-step-path.ts:184
↓ 15 callersFunctioncreateModel
(params: { id: string; type?: 'default' | 'default-group'; selected?: boolean; draggable?: boo
projects/ngx-vflow-lib/src/lib/vflow/services/draggable.service.spec.ts:45
↓ 14 callersFunctionalign
(num: number, constant: number)
projects/ngx-vflow-lib/src/lib/vflow/utils/align-number.ts:1
↓ 12 callersFunctioncreateNode
( node: StaticNode<T>, options: CreateNodeOptions = { useDefaults: true }, )
projects/ngx-vflow-lib/src/lib/vflow/interfaces/node.interface.ts:157
↓ 12 callersMethodedges
(newEdges: Edge[])
projects/ngx-vflow-lib/src/lib/vflow/components/vflow/vflow.component.ts:336
↓ 11 callersFunctioncreateParams
( sourcePoint = { x: 100, y: 200 }, targetPoint = { x: 400, y: 200 }, sourcePosition: 'top' | 'bot
projects/ngx-vflow-lib/src/lib/vflow/math/edge-path/smooth-step-path.spec.ts:6
↓ 9 callersFunctionallowRootZoomForNodeTarget
(event: Event, isSelectionKeyboardMode: boolean)
projects/ngx-vflow-lib/src/lib/vflow/utils/allow-root-zoom-for-node-target.ts:5
↓ 9 callersMethodconnection
(connection: ConnectionModel)
projects/ngx-vflow-lib/src/lib/vflow/components/vflow/vflow.component.ts:266
↓ 9 callersFunctiongetPointOnLineByRatio
(start: Point, end: Point, ratio: number)
projects/ngx-vflow-lib/src/lib/vflow/math/point-on-line-by-ratio.ts:8
↓ 8 callersMethodbatchAnimationFrame
(callback: () => void)
projects/ngx-vflow-lib/src/lib/vflow/services/request-animation-frame-batching.service.ts:8
↓ 8 callersFunctionscalePoint
(point: Point, scale: number)
projects/ngx-vflow-demo/src/app/categories/cookbook/rope-curve/demo/rope-curve-demo.component.ts:391
↓ 6 callersMethodgetDragBehavior
* Node drag behavior. Updated node's coordinate according to dragging * * @param model * @returns
projects/ngx-vflow-lib/src/lib/vflow/services/draggable.service.ts:68
↓ 6 callersFunctionhashCode
(str: string)
projects/ngx-vflow-lib/src/lib/vflow/utils/hash.ts:1
↓ 6 callersMethodisActiveAction
(action: KeyboardAction)
projects/ngx-vflow-lib/src/lib/vflow/services/keyboard.service.ts:70
↓ 6 callersMethodmodel
()
projects/ngx-vflow-lib/src/lib/vflow/public-components/resizable/resizable.component.ts:67
↓ 6 callersFunctionnodeToRect
(node: NodeModel)
projects/ngx-vflow-lib/src/lib/vflow/utils/nodes.ts:51
↓ 6 callersFunctionrandomHex
()
projects/ngx-vflow-demo/src/app/categories/cookbook/force/demo/force-layout-demo.component.ts:140
↓ 6 callersMethodsetPoint
(point: Point)
projects/ngx-vflow-lib/src/lib/vflow/models/node.model.ts:250
↓ 5 callersFunctionaddPoints
(a: Point, b: Point)
projects/ngx-vflow-demo/src/app/categories/cookbook/rope-curve/demo/rope-curve-demo.component.ts:384
↓ 5 callersFunctioncreateEdge
( edge: StaticEdge<T>, options: CreateEdgeOptions = { useDefaults: true }, )
projects/ngx-vflow-lib/src/lib/vflow/interfaces/edge.interface.ts:47
↓ 5 callersMethodgetDragNodes
(model: NodeModel)
projects/ngx-vflow-lib/src/lib/vflow/services/draggable.service.ts:129
↓ 5 callersMethodnodeChangesOfType
(type: T)
projects/ngx-vflow-lib/src/lib/vflow/directives/changes-controller.directive.ts:76
↓ 5 callersMethodoptimization
(newOptimization: Optimization)
projects/ngx-vflow-lib/src/lib/vflow/components/vflow/vflow.component.ts:214
↓ 5 callersMethodupdateHost
()
projects/ngx-vflow-lib/src/lib/vflow/models/handle.model.ts:130
↓ 4 callersMethodaddObserver
(element: Element, callback: (resizeEntry: ResizeObserverEntry) => void)
projects/ngx-vflow-lib/src/lib/vflow/services/resize-observer.service.ts:23
↓ 4 callersFunctionclamp
(value: number, min: number, max: number)
projects/ngx-vflow-demo/src/app/categories/cookbook/rope-curve/demo/rope-curve-demo.component.ts:365
↓ 4 callersMethodclearPreselection
()
projects/ngx-vflow-lib/src/lib/vflow/directives/selection-box-context.directive.ts:133
↓ 4 callersMethodedgeChangesOfType
(type: T)
projects/ngx-vflow-lib/src/lib/vflow/directives/changes-controller.directive.ts:83
↓ 4 callersFunctionedgeFactor
(distance: number)
projects/ngx-vflow-lib/src/lib/vflow/directives/auto-pan.directive.ts:121
↓ 4 callersMethodentitiesSelectable
(value: boolean)
projects/ngx-vflow-lib/src/lib/vflow/components/vflow/vflow.component.ts:225
↓ 4 callersFunctionextendedComputed
( computedCallback: (currentValue: TValue) => TValue, options?: CreateComputedOptions<TValue>, )
projects/ngx-vflow-lib/src/lib/vflow/utils/signals/extended-computed.ts:29
↓ 4 callersFunctionlerpPoint
(a: Point, b: Point, ratio: number)
projects/ngx-vflow-demo/src/app/categories/cookbook/rope-curve/demo/rope-curve-demo.component.ts:369
↓ 4 callersMethodonDestroy
()
projects/ngx-vflow-lib/src/lib/vflow/models/handle.model.ts:122
↓ 4 callersFunctionround
(num: number)
projects/ngx-vflow-lib/src/lib/vflow/utils/round.ts:1
↓ 4 callersMethodselect
(entity: FlowEntity | null, context: SelectionContext)
projects/ngx-vflow-lib/src/lib/vflow/interfaces/selection-strategy.interface.ts:17
↓ 4 callersFunctionsubtractPoints
(a: Point, b: Point)
projects/ngx-vflow-demo/src/app/categories/cookbook/rope-curve/demo/rope-curve-demo.component.ts:377
↓ 3 callersMethodapplyEndpointPins
(sourcePoint: Point, targetPoint: Point)
projects/ngx-vflow-demo/src/app/categories/cookbook/rope-curve/demo/rope-curve-demo.component.ts:172
↓ 3 callersFunctionbezierPath
({ sourcePoint, targetPoint, sourcePosition, targetPosition, }: CurveFactoryParams)
projects/ngx-vflow-lib/src/lib/vflow/math/edge-path/bezier-path.ts:6
↓ 3 callersFunctioncreateEdges
( edges: StaticEdge<T>[], options: CreateEdgeOptions = { useDefaults: true }, )
projects/ngx-vflow-lib/src/lib/vflow/interfaces/edge.interface.ts:89
↓ 3 callersFunctioncreateNodes
( nodes: StaticNode<T>[], options: CreateNodeOptions = { useDefaults: true }, )
projects/ngx-vflow-lib/src/lib/vflow/interfaces/node.interface.ts:300
↓ 3 callersMethodduration
(duration: number)
projects/ngx-vflow-lib/src/lib/vflow/directives/map-context.directive.ts:139
↓ 3 callersMethodfitView
()
projects/ngx-vflow-demo/src/app/categories/cookbook/vizdom-layout/demo/vizdom-layout-demo.component.ts:68
↓ 3 callersFunctiongetDistance
(a: Point, b: Point)
projects/ngx-vflow-demo/src/app/categories/cookbook/rope-curve/demo/rope-curve-demo.component.ts:323
↓ 3 callersFunctiongetNodesFlowBounds
(nodes: NodeModel[])
projects/ngx-vflow-lib/src/lib/vflow/utils/nodes.ts:14
↓ 3 callersFunctiongetPointOnBezier
* Get point on bezier curve by ratio
projects/ngx-vflow-lib/src/lib/vflow/math/edge-path/bezier-path.ts:86
↓ 3 callersMethodgetSourceHandlePoint
()
projects/ngx-vflow-demo/src/app/categories/cookbook/rope-curve/demo/rope-curve-demo.component.ts:245
↓ 3 callersMethodgetTargetHandlePoint
()
projects/ngx-vflow-demo/src/app/categories/cookbook/rope-curve/demo/rope-curve-demo.component.ts:253
↓ 3 callersFunctionisCallable
(type: StaticNode<T>['type'] | any)
projects/ngx-vflow-lib/src/lib/vflow/utils/is-callable.ts:3
↓ 3 callersFunctionisCustomNodeComponent
(type: any)
projects/ngx-vflow-lib/src/lib/vflow/utils/is-vflow-component.ts:3
↓ 3 callersFunctionisPointInRect
(point: Point, rect: Rect)
projects/ngx-vflow-lib/src/lib/vflow/utils/rect.ts:50
↓ 3 callersFunctionmapTransformToViewportState
(transform: ZoomTransform)
projects/ngx-vflow-lib/src/lib/vflow/directives/map-context.directive.ts:122
↓ 3 callersFunctionpointOnPolylineByRatio
(points: Point[], ratio: number)
projects/ngx-vflow-demo/src/app/categories/cookbook/rope-curve/demo/rope-curve-demo.component.ts:327
↓ 3 callersMethodremoveObserver
(element: Element)
projects/ngx-vflow-lib/src/lib/vflow/services/resize-observer.service.ts:34
↓ 3 callersMethodselectionBox
(value: SelectionBoxSettings)
projects/ngx-vflow-lib/src/lib/vflow/components/vflow/vflow.component.ts:246
↓ 3 callersMethodsetIdleStatus
()
projects/ngx-vflow-lib/src/lib/vflow/services/flow-status.service.ts:127
↓ 3 callersFunctionstraightPath
({ sourcePoint, targetPoint }: CurveFactoryParams)
projects/ngx-vflow-lib/src/lib/vflow/math/edge-path/straigh-path.ts:4
↓ 3 callersFunctiontoLazySignal
( source: Observable<T> | Subscribable<T>, options?: ToSignalOptions<T> & { initialValue?: U }, )
projects/ngx-vflow-lib/src/lib/vflow/utils/signals/to-lazy-signal.ts:59
↓ 3 callersMethodtransition
()
projects/ngx-vflow-lib/src/lib/vflow/directives/map-context.directive.ts:138
↓ 2 callersFunctionaddNodesToEdges
(nodes: NodeModel[], edges: EdgeModel[])
projects/ngx-vflow-lib/src/lib/vflow/utils/add-nodes-to-edges.ts:4
↓ 2 callersFunctionadjustDirection
(connection: ConnectionInternal)
projects/ngx-vflow-lib/src/lib/vflow/utils/adjust-direction.ts:8
↓ 2 callersMethodbackground
(value: Background | string)
projects/ngx-vflow-lib/src/lib/vflow/components/vflow/vflow.component.ts:209
↓ 2 callersFunctionborderRadius
(ctx: CanvasRenderingContext2D, node: NodeModel, radius: number)
projects/ngx-vflow-lib/src/lib/vflow/components/preview-flow/draw-node.ts:105
↓ 2 callersFunctionbuildFallbackSamples
(sourcePoint: Point, targetPoint: Point)
projects/ngx-vflow-demo/src/app/categories/cookbook/rope-curve/demo/rope-curve-demo.component.ts:295
↓ 2 callersFunctioncalcControlPoint
* Calculate control point based on provided point * * @param point relative this point control point is gonna be computed (the source or the target)
projects/ngx-vflow-lib/src/lib/vflow/math/edge-path/bezier-path.ts:30
↓ 2 callersMethodclearDrag
(element: Element)
projects/ngx-vflow-lib/src/lib/vflow/services/draggable.service.ts:55
↓ 2 callersFunctiondistance
(a: Point, b: Point)
projects/ngx-vflow-lib/src/lib/vflow/math/edge-path/smooth-step-path.ts:37
↓ 2 callersMethoddocumentPointToFlowPoint
(documentPoint: Point)
projects/ngx-vflow-lib/src/lib/vflow/directives/selection-box-context.directive.ts:96
↓ 2 callersMethoddocumentPointToFlowPoint
(point: Point, options?: { spaces: boolean })
projects/ngx-vflow-lib/src/lib/vflow/components/vflow/vflow.component.ts:498
↓ 2 callersFunctiondot
(a: Point, b: Point)
projects/ngx-vflow-demo/src/app/categories/cookbook/rope-curve/demo/rope-curve-demo.component.ts:398
↓ 2 callersMethodelevateEdgesOnSelect
(value: boolean)
projects/ngx-vflow-lib/src/lib/vflow/components/vflow/vflow.component.ts:294
↓ 2 callersFunctiongetBoundsOfRects
(rects: Rect[])
projects/ngx-vflow-lib/src/lib/vflow/utils/rect.ts:54
↓ 2 callersMethodgetContext
()
projects/ngx-vflow-lib/src/lib/vflow/components/connection/connection.component.ts:122
↓ 2 callersMethodgetDefaultViewport
* The default value used by d3, just copy it here * * @returns default viewport value
projects/ngx-vflow-lib/src/lib/vflow/services/viewport.service.ts:21
↓ 2 callersMethodgetIntesectingNodes
* Gets nodes that intersect with the specified node * * @template T - The type of data associated with the nodes * @param nodeId - The ID of
projects/ngx-vflow-lib/src/lib/vflow/components/vflow/vflow.component.ts:516
↓ 2 callersFunctiongetNodesBounds
(nodes: NodeModel[])
projects/ngx-vflow-lib/src/lib/vflow/utils/nodes.ts:6
↓ 2 callersFunctiongetOS
()
projects/ngx-vflow-lib/src/lib/vflow/utils/get-os.ts:1
↓ 2 callersFunctiongetOppositePostion
(position: Position)
projects/ngx-vflow-lib/src/lib/vflow/components/connection/connection.component.ts:149
↓ 2 callersMethodgetPathFactoryParams
( sourcePoint: Point, targetPoint: Point, sourcePosition: Position, targetPosition: Position,
projects/ngx-vflow-lib/src/lib/vflow/components/connection/connection.component.ts:131
↓ 2 callersFunctiongetPointAtRatio
(ratio: number)
projects/ngx-vflow-lib/src/lib/vflow/math/edge-path/smooth-step-path.ts:240
↓ 2 callersMethodgetSelectionRect
()
projects/ngx-vflow-lib/src/lib/vflow/directives/selection-box-context.directive.ts:100
↓ 2 callersFunctiongetSpacePoints
(point: Point, groups: NodeModel[])
projects/ngx-vflow-lib/src/lib/vflow/utils/get-space-points.ts:12
↓ 2 callersFunctiongetVelocity
(previousPoint: Point, currentPoint: Point, dt: number)
projects/ngx-vflow-demo/src/app/categories/cookbook/rope-curve/demo/rope-curve-demo.component.ts:402
↓ 2 callersFunctiongetViewportForBounds
( bounds: Rect, width: number, height: number, minZoom: number, maxZoom: number, padding: number,
projects/ngx-vflow-lib/src/lib/vflow/utils/viewport.ts:5
↓ 2 callersMethodinitializeRope
(sourcePoint: Point, targetPoint: Point)
projects/ngx-vflow-demo/src/app/categories/cookbook/rope-curve/demo/rope-curve-demo.component.ts:150
↓ 2 callersFunctionisGroupNode
(node: NodeModel)
projects/ngx-vflow-lib/src/lib/vflow/utils/is-group-node.ts:3
↓ 2 callersFunctionisNodeDragStartStatus
(params: FlowStatus)
projects/ngx-vflow-lib/src/lib/vflow/services/flow-status.service.ts:237
↓ 2 callersFunctionisNodeDragStatus
(params: FlowStatus)
projects/ngx-vflow-lib/src/lib/vflow/services/flow-status.service.ts:241
↓ 2 callersFunctionisSelectionBoxEndStatus
(params: FlowStatus)
projects/ngx-vflow-lib/src/lib/vflow/services/flow-status.service.ts:249
↓ 2 callersMethodlayout
* Method that responsible to layout and render passed nodes and edges
projects/ngx-vflow-demo/src/app/categories/cookbook/vizdom-layout/demo/vizdom-layout-demo.component.ts:78
↓ 2 callersMethodmaxZoom
(value: number)
projects/ngx-vflow-lib/src/lib/vflow/components/vflow/vflow.component.ts:201
↓ 2 callersMethodminZoom
(value: number)
projects/ngx-vflow-lib/src/lib/vflow/components/vflow/vflow.component.ts:193
↓ 2 callersFunctionmockModel
()
projects/ngx-vflow-lib/testing/src/provide-custom-node-mocks.ts:18
↓ 2 callersMethodmoveNode
* @todo make it unit testable
projects/ngx-vflow-lib/src/lib/vflow/services/draggable.service.ts:158
↓ 2 callersFunctionrandomHex
()
projects/ngx-vflow-demo/src/app/categories/cookbook/vizdom-layout/demo/vizdom-layout-demo.component.ts:130
↓ 2 callersFunctionrectToSides
(rect: Rect)
projects/ngx-vflow-lib/src/lib/vflow/utils/rect.ts:16
↓ 2 callersFunctionrectsIntersect
(rectA: Rect, rectB: Rect)
projects/ngx-vflow-lib/src/lib/vflow/utils/rect.ts:25
↓ 2 callersMethodreset
()
projects/ngx-vflow-lib/src/lib/vflow/models/selection-box.model.ts:31
next →1–100 of 398, ranked by callers