NodeSelection
Ce contenu n’est pas encore disponible dans votre langue.
Classes
NodeSelection
Extends
Constructors
new NodeSelection()
Parameters
• params
• params.owner: NodeFactory
Returns
Overrides
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:46
Properties
accumulating
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:24
boxSelectionAction
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:299
cleanup()?
Returns
void
Inherited from
Defined in
tmp/graph-editor/src/lib/graph-editor/components/BaseComponent.ts:13
connections
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:130
entities
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:23
modifierActive
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:27
nodes
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:124
picked
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:136
pickedConnection
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:138
pickedNode
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:137
ranging
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:25
typedEntities
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:28
Accessors
boxSelectionEnabled
Parameters
• value: boolean
Returns
boolean
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:294
Methods
entityElement()
Parameters
• entity: SelectorEntity
Returns
undefined
| HTMLElement
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:140
invertSelection()
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:163
isPicked()
Parameters
• entity: SelectorEntity
| EntityWithType
<"node"
| "connection"
| "comment"
>
Returns
boolean
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:275
isSelected()
Parameters
• entity: SelectorEntity
Returns
boolean
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:159
pick()
Parameters
• entity: SelectorEntity
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:268
releasePicked()
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:272
remove()
Parameters
• entity: SelectorEntity
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:238
select()
Parameters
• entity: SelectorEntity
• options = {}
• options.accumulate?: boolean
• options.pick?: boolean
• options.range?: boolean
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:212
selectAll()
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:279
selectMultiple()
Parameters
• entities: Iterable
<SelectorEntity
>
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:203
selectRange()
Selects all entities between two entities.
Selects only entities with 50% of their bounding box inside the bouding box formed by the two entities.
Parameters
• a: SelectorEntity
• b: SelectorEntity
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:177
translate()
Parameters
• dx: number
• dy: number
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:252
unselect()
Parameters
• entity: SelectorEntity
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:241
unselectAll()
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:247
Type Aliases
SelectOptions
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:335
SelectorEntity
Defined in
tmp/graph-editor/src/lib/graph-editor/editor/NodeSelection.svelte.ts:16