Skip to content
Bit Quirky Behavior Trees and
State Machines

Search documentation

All topics and APIs

Close returns focus to Search.

What are you looking for?

Try a common topic or enter a complete API identifier.

Browse the reference instead

Esc closes · Tab reaches results · Enter opens the focused link

v0.6.0
Menu

EdgeLayer.cs declarations

Public API declaration excerpts from ../bitquirky-graph/Editor/GraphView/Views/EdgeLayer.cs.

Source snapshot ad0983d00d77.

On this page

Original file: ../bitquirky-graph/Editor/GraphView/Views/EdgeLayer.cs

Source file hash: sha256:363b7cd4cf7220a6476e873fccbef16f611ce1cd1a2244b594f853a9d89010cc

Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.

Original lines: 23-39

Declaration hash: sha256:8ae612af74c107dbf68170e61e8c678c5dfe2d61176c8783846036e4504db88b

C#
public enum EdgeTreatment
{
}

Original lines: 26

Declaration hash: sha256:21b111cbfe6e8fca2d181c43f53ad548b22e38aca955b9824706a504b0a07a2d

C#
Default

Original lines: 29

Declaration hash: sha256:ab0171ca0494d441cb6fe96e2efbe1c2a129f1d87cd6c17f03613cfd111149dd

C#
Idle

Original lines: 32

Declaration hash: sha256:92340695899bd2d86223e4a007620e0d6502fc0e08809773634c7e0743764a9c

C#
Active

Original lines: 35

Declaration hash: sha256:7031edbcf9c42caac9e677d5a89c78efce7b26adfdef9be6f0111cd1b8961033

C#
Failure

Original lines: 38

Declaration hash: sha256:75081b593d15cf6e631971bc6768723f593b88b172477e40ae7d363e4829816d

C#
Disabled

Original lines: 44-60

Declaration hash: sha256:d04d5582379da7f30f3a22552a17b4664f93049f9c6ca2928cc3ee10090665df

C#
public enum GraphEdgeLabelPlacementResult
{
}

Original lines: 47

Declaration hash: sha256:b7339f9b08b4ebe72d99c0734f23ce4d79fbcb81f039b68636a58439ed0450d8

C#
InvalidRequest

Original lines: 50

Declaration hash: sha256:3925ad5d42789729f685e383b48ae1c3a857ece015b44cf60e0c0b2788ee5803

C#
EdgeNotFound

Original lines: 53

Declaration hash: sha256:6c52cc8118180d8e2d236a99ca66d0121a0b90f46881858620d8d6dfb1f9d05f

C#
OnRoute

Original lines: 56

Declaration hash: sha256:c331cfc3d2757fe80f5255cacea3cc19c6897d5fac8247038c0b346a1c1a8155

C#
NearRoute

Original lines: 59

Declaration hash: sha256:2c75e41e2862ac99b4d4e0d8b233d6574f115db7aee32dcdbef63cd522ff0c14

C#
NoAvailableFit

Original lines: 76-2649

Declaration hash: sha256:8863104794171be8021230f2c709ff6c21208464d7770dca46da8f00e6e254e3

C#
public class EdgeLayer : VisualElement
{
}

Original lines: 79

Declaration hash: sha256:a1bfcc97106caea5b4d7d4fca4c82fef3437b46b71148c8a9147e1a7431c15ce

C#
public const float DefaultIdleStrokeWidth = 1.25f;

Original lines: 81

Declaration hash: sha256:0acd21e78073d304998a4d4d6bc93fa856c5c14465d25cfd7abd1b6f1852fc22

C#
public const float DefaultIdleStrokeOpacity = 0.55f;

Original lines: 83

Declaration hash: sha256:3ac6c3212528f09f6185749e6e7e8f977d6172f6b8dd6c812ef1d8b780046fde

C#
public const float DefaultActiveStrokeWidth = 1.75f;

Original lines: 85

Declaration hash: sha256:7fc843fb5d65ed36cf593234a225277d8f947b3a547c5fb1e68e200008998718

C#
public const float DefaultFailureStrokeWidth = 1.5f;

Original lines: 87

Declaration hash: sha256:0d0bf3445ea26bf12164d1c4e4c7a6ecbeb7b47f5e9541a4afecb9f02ef03494

C#
public const float DefaultDisabledStrokeWidth = 1.25f;

Original lines: 89

Declaration hash: sha256:d4c0bfdd57473c8341f07611e6511c4b31e58e27e4767f63bf025f872455892e

C#
public const float DefaultDisabledStrokeOpacity = 0.30f;

Original lines: 91

Declaration hash: sha256:51e43aa2ef732ddced397ba30d06808250d0eb359cc46eddc16c95ab794ecdaa

C#
public const float DefaultSelectedStrokeWidth = 4.0f;

Original lines: 93

Declaration hash: sha256:900ea4f968d1084a1104ff7108a6793da1123d04f6f492332bdb0ba427679068

C#
public const float DefaultHoveredStrokeWidth = 3.0f;

Original lines: 95

Declaration hash: sha256:077148e53af3e63b243ccb648690a72c31a57e7aa564af2b8cf8d4731fd353b7

C#
public const float DefaultHoveredColorLift = 0.2f;

Original lines: 97

Declaration hash: sha256:2a14596450ab25985808a86ac81a2055abbd0bd0637c3f4503afb550080ada69

C#
public const float DefaultTempEdgeDashLength = 8f;

Original lines: 100

Declaration hash: sha256:c8370d4c6452dc8c4239e783c4605d2631084cee74703322d3c9b73177266854

C#
public const float DefaultTempEdgeGapLength = 5f;

Original lines: 107

Declaration hash: sha256:a8e7a991834fcfe41293e4a867f65915f18d3d119b2e8f8f566fbc70fb91f648

C#
public const float MinimumTempEdgePatternLength = 0.5f;

Original lines: 114

Declaration hash: sha256:7cf1a9b239921b77978976d4aeff498738e41d23f4e2ae7f2372ceccfac4e7eb

C#
public const float NonHoveredFadeOpacity = 0.25f;

Original lines: 123

Declaration hash: sha256:69be34932c210fcc92860928be1997a4c0d6ac02815dee5dceed13cf7efc103d

C#
public const float DefaultSelfLoopClearance = 24f;

Original lines: 208

Declaration hash: sha256:c854db135204bdedc8dfad0301988d119890645b6b0187340131b9b6cbadbaff

C#
public GraphEdgeRouting Routing { get; set; }

Original lines: 218

Declaration hash: sha256:7e84377c79c32f68e4214ec1fdb9d61156728e146753e73c3f0ba877ae4d6565

C#
public bool SharedTrunkBus { get; set; }

Original lines: 224

Declaration hash: sha256:ac54dd6cba3ce3da0f9844c6959427d0a49665a9a48ea89d53a44f39c5ab01bf

C#
public GraphPortPlacement PortPlacement { get; set; }

Original lines: 231

Declaration hash: sha256:083abdfe9c3e29b73ab0f609cba8c22a2d95fabe23857fe7bf6de059ec2db5ae

C#
public Color? TreatmentColorIdle { get; set; }

Original lines: 234

Declaration hash: sha256:5895c42380eacbb0f8a045e49ec50d2aae23117b7b2f60595dd52df84ba78405

C#
public Color? TreatmentColorActive { get; set; }

Original lines: 237

Declaration hash: sha256:b03f9dcc062a2f51bb37452319b6550ca2f06d7be0f896247f2fbffc6814ea4d

C#
public Color? TreatmentColorFailure { get; set; }

Original lines: 240

Declaration hash: sha256:86e2f931ebfa17d621dc9d3fadf4cfcf030a6f897f66d66d215b30190609cbd9

C#
public Color? TreatmentColorDisabled { get; set; }

Original lines: 243

Declaration hash: sha256:866d2dcc870f4e807dbb1c5d8aa7a5cfa3bac45bad15970a399bb78a3d3f6ea4

C#
public float IdleStrokeWidth { get; set; }

Original lines: 245

Declaration hash: sha256:8e1449bada5501bfe1164736022973a3708e834341674d9f5fc5d067d84b4aa4

C#
public float IdleStrokeOpacity { get; set; }

Original lines: 247

Declaration hash: sha256:52514010a7e06903bf4811bff64ba52231d34e95008c112a3b16d2fab0339a64

C#
public float ActiveStrokeWidth { get; set; }

Original lines: 249

Declaration hash: sha256:5c658decb4b6822035e1501d24378ba45b8e9ea0c020fcbed65f0dc8c0f9a382

C#
public float FailureStrokeWidth { get; set; }

Original lines: 251

Declaration hash: sha256:a96c5e3f64cfc161576e486fa5df183eef24d7dbc53aabe1de783d5212366a80

C#
public float DisabledStrokeWidth { get; set; }

Original lines: 253

Declaration hash: sha256:a0e35a2fd3414bc07c3969d6359167fbf3150812515c3e67366b6fb02174cad5

C#
public float DisabledStrokeOpacity { get; set; }

Original lines: 255

Declaration hash: sha256:2145a7a8a561cf636aaceb9e05d07474df7742a5693c36fb2aca247a801b8d18

C#
public Color? HoveredColor { get; set; }

Original lines: 257

Declaration hash: sha256:b8170454a41ecfe3ca69352ca33357ee2041e8de80eb71bdc240bb9009c79364

C#
public float HoveredStrokeWidth { get; set; }

Original lines: 259

Declaration hash: sha256:2853af41055e558e1476dcb1496b208595ea393c68d6c1ea4ba3db3ece277c80

C#
public Color SelectedColor { get; set; }

Original lines: 261

Declaration hash: sha256:52398cff19d6558fa627d2a408987e19691b422569b9bef6feab823873aec3c7

C#
public float SelectedStrokeWidth { get; set; }

Method: EdgeLayer(GraphEdgeRouting routing, GraphPortPlacement portPlacement)

Section titled “Method: EdgeLayer(GraphEdgeRouting routing, GraphPortPlacement portPlacement)”

Original lines: 286-299

Declaration hash: sha256:e553ec38991bb8aca3bb385ab5485a1649ebf8448795db0139b4b9f419baaac0

C#
public EdgeLayer(GraphEdgeRouting routing = GraphEdgeRouting.Bezier, GraphPortPlacement portPlacement = GraphPortPlacement.LeftRight);

Method: AddEdge(Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool toPortIsOnRightSide)

Section titled “Method: AddEdge(Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool toPortIsOnRightSide)”

Original lines: 309-312

Declaration hash: sha256:88af9fcb6ab3c97617a90facea93040409c649d616c14c7d54cf3b0915b9d128

C#
public void AddEdge(Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected = false, bool isHovered = false, bool toPortIsOnRightSide = false);

Method: AddEdge(Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes)

Section titled “Method: AddEdge(Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes)”

Original lines: 320-323

Declaration hash: sha256:a6380840b58cea169bbeb2a24e7fbbbf011c0b200033fe7f52c3b0a693ff6964

C#
public void AddEdge(System.Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes);

Method: AddEdge(Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes, EdgeTreatment treatment)

Section titled “Method: AddEdge(Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes, EdgeTreatment treatment)”

Original lines: 331-334

Declaration hash: sha256:7785130f2176a6b1220326bbfc9c24e0ef97913f5cba4fd0cd1cc7ff2c867000

C#
public void AddEdge(System.Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes, EdgeTreatment treatment);

Method: AddEdge(Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool fromPortIsOnRightSide, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes, EdgeTreatment treatment)

Section titled “Method: AddEdge(Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool fromPortIsOnRightSide, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes, EdgeTreatment treatment)”

Original lines: 345-348

Declaration hash: sha256:2aa71fa57f52be7b5293d75f55581cbadb1edf877ccc7055d3f1e88d2dbb0679

C#
public void AddEdge(System.Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool fromPortIsOnRightSide, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes, EdgeTreatment treatment);

Method: AddEdge(Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool fromPortIsOnRightSide, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes, EdgeTreatment treatment, bool showTargetArrowhead)

Section titled “Method: AddEdge(Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool fromPortIsOnRightSide, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes, EdgeTreatment treatment, bool showTargetArrowhead)”

Original lines: 354-357

Declaration hash: sha256:55f58d086d13e44b3296b10c8c73ae664c2a9069a32f6aed3756ffbc7f5f1599

C#
public void AddEdge(System.Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool fromPortIsOnRightSide, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes, EdgeTreatment treatment, bool showTargetArrowhead);

Method: AddEdge(Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool fromPortIsOnRightSide, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes, EdgeTreatment treatment, bool showTargetArrowhead, Rect? selfLoopNodeBounds)

Section titled “Method: AddEdge(Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool fromPortIsOnRightSide, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes, EdgeTreatment treatment, bool showTargetArrowhead, Rect? selfLoopNodeBounds)”

Original lines: 365-383

Declaration hash: sha256:1cdaa3bf147ef71ad1ade48a64f7a653491b9b4a4150329b5891e25ee3ecfccb

C#
public void AddEdge(System.Guid edgeId, Vector2 from, Vector2 to, Color color, bool isControl, bool isSelected, bool isHovered, bool fromPortIsOnRightSide, bool toPortIsOnRightSide, IReadOnlyList<Vector2> userReroutes, EdgeTreatment treatment, bool showTargetArrowhead, Rect? selfLoopNodeBounds);

Original lines: 446-462

Declaration hash: sha256:b2b80c7ab6d5393a06aec57d9d748323d15750c493f5a55fb6171aa064016613

C#
public void ClearEdges();

Original lines: 468

Declaration hash: sha256:5031628d535d58175f6b7322e37d21c0a011f1d6b46b5082fe2f1af6a8e4635c

C#
public System.Guid? HoveredEdgeId { get; }

Original lines: 477-486

Declaration hash: sha256:2fbdeb89a9b4c653a53ed45d8c4dab65e48f071cdcee7bd5859746b25d7ebe87

C#
public void SetHoveredEdge(System.Guid? edgeId);

Method: TryGetEffectiveEdgeStroke(Guid edgeId, out float width, out Color drawColor)

Section titled “Method: TryGetEffectiveEdgeStroke(Guid edgeId, out float width, out Color drawColor)”

Original lines: 495-509

Declaration hash: sha256:dd404a6cfdb95ac23ce70750d53863c10cdb9157036c140bbf7114c19bcf5e28

C#
public bool TryGetEffectiveEdgeStroke(System.Guid edgeId, out float width, out Color drawColor);

Method: TryPickDataEdge(Vector2 point, float tolerance, out Guid edgeId)

Section titled “Method: TryPickDataEdge(Vector2 point, float tolerance, out Guid edgeId)”

Original lines: 519-543

Declaration hash: sha256:0424a0ef4497031a3b441d595c1a101f7143157cccbfcb159c2318c85e616ac8

C#
public bool TryPickDataEdge(Vector2 point, float tolerance, out System.Guid edgeId);

Method: TryPickExecutionEdge(Vector2 point, float tolerance, out Guid edgeId)

Section titled “Method: TryPickExecutionEdge(Vector2 point, float tolerance, out Guid edgeId)”

Original lines: 554-598

Declaration hash: sha256:ae5c6e7bc1031687e810f011936468b359c4d617124e6e7f2757c6516b7b8436

C#
public bool TryPickExecutionEdge(Vector2 point, float tolerance, out System.Guid edgeId);

Method: TryPickEdge(Vector2 point, float tolerance, out Guid edgeId, out bool isExecution)

Section titled “Method: TryPickEdge(Vector2 point, float tolerance, out Guid edgeId, out bool isExecution)”

Original lines: 610-636

Declaration hash: sha256:98353c58352345b6e11c7129e24b00a193c5e72a8d5a1bd5ca131b45b02c7624

C#
public bool TryPickEdge(Vector2 point, float tolerance, out System.Guid edgeId, out bool isExecution);

Method: SetTempEdge(Vector2 from, Vector2 to, Color color)

Section titled “Method: SetTempEdge(Vector2 from, Vector2 to, Color color)”

Original lines: 656-665

Declaration hash: sha256:592e13e51f71d6ddee617aca6aa83683508f5fa6b77f87cb6b5da340f951c7d9

C#
public void SetTempEdge(Vector2 from, Vector2 to, Color color);

Method: SetTempEdge(Vector2 from, Vector2 to, Color color, GraphConnectionGhostStyle style, float dashLength, float gapLength)

Section titled “Method: SetTempEdge(Vector2 from, Vector2 to, Color color, GraphConnectionGhostStyle style, float dashLength, float gapLength)”

Original lines: 673-717

Declaration hash: sha256:8e78e91434a19b6c9d9743e046d12605c4f1be7f1d401790a46df63421926d0b

C#
public void SetTempEdge(Vector2 from, Vector2 to, Color color, GraphConnectionGhostStyle style, float dashLength, float gapLength);

Original lines: 720-727

Declaration hash: sha256:c49646fc2e5c4a8e0dc785eb44f1a2f85d2a38a43fa576a1d157dfe7fa04fd11

C#
public void ClearTempEdge();

Original lines: 733

Declaration hash: sha256:5e65c7b36a6904a6e0ebf43737fc2fede8f9eea06beac0f388d4494b0e485eb3

C#
public bool HasTempEdge { get; }

Original lines: 739

Declaration hash: sha256:a3cbcafe849d093ac9f1981920300f521d6ec141b04baf20b756b5eb2c5ca216

C#
public Color TempEdgeColor { get; }

Original lines: 742

Declaration hash: sha256:dbaa43c56e78d33705478827dde1738c9383fc9571eefe8975fb1572a8e73bdc

C#
public GraphConnectionGhostStyle TempEdgeStyle { get; }

Original lines: 745

Declaration hash: sha256:04d0181f46bce6aec3a62e1d3a35d66dc55e6e3d7d3269c7187f929ea10b38bd

C#
public float TempEdgeDashLength { get; }

Original lines: 748

Declaration hash: sha256:1c74c12c0a25eedb54874fa8bae44d095f7785da39c83500c0b14c116b7974f5

C#
public float TempEdgeGapLength { get; }

Original lines: 756

Declaration hash: sha256:14c49af06a0ca08cbd4ae2209d90d7ade20b7be1081cb80556b1e2f694cb0cf3

C#
public Vector2 TempEdgeStart { get; }

Original lines: 763-771

Declaration hash: sha256:803d2200ec112ce6d09855ac59f0d2c8c5a8f763d4c725979d76cfb10f0f4610

C#
public IReadOnlyList<(Vector2 From, Vector2 To)> GetTempEdgeDashSegments();

Method: TryGetEdgeColor(Guid edgeId, out Color color)

Section titled “Method: TryGetEdgeColor(Guid edgeId, out Color color)”

Original lines: 777-786

Declaration hash: sha256:deaf4b6e86defddcecd110ce6f3ad019447815aeecd917e191ca5d8805e73e40

C#
public bool TryGetEdgeColor(System.Guid edgeId, out Color color);

Method: TryGetEdgeRenderStyle(Guid edgeId, out float strokeWidth, out Color color)

Section titled “Method: TryGetEdgeRenderStyle(Guid edgeId, out float strokeWidth, out Color color)”

Original lines: 793-813

Declaration hash: sha256:15cc6558cb314c96ce08dfbbcff96d86d4d4bd6b7eab1203873db0348fdc2a50

C#
public bool TryGetEdgeRenderStyle(System.Guid edgeId, out float strokeWidth, out Color color);

Original lines: 820-826

Declaration hash: sha256:8b12626991f78d122a4fb41400bca023a81f9557060c8cc11504044c1e719f95

C#
public IEnumerable<(System.Guid EdgeId, Vector2[] Polyline)> EnumerateEdgePolylines();

Method: TryGetEdgeMidpoint(Guid edgeId, out Vector2 midpoint)

Section titled “Method: TryGetEdgeMidpoint(Guid edgeId, out Vector2 midpoint)”

Original lines: 1219-1247

Declaration hash: sha256:db27dc97aa3e974fd0b0dbe9b230ee6e59e6d6afc5eaadffc2773afe22b0efa7

C#
public bool TryGetEdgeMidpoint(System.Guid edgeId, out Vector2 midpoint);

Original lines: 1254-1306

Declaration hash: sha256:5114ea9a05a92f18a5f45253f1770b0d9a39d7b6d0045d07b4d5b8e29a8a64b8

C#
public IEnumerable<(System.Guid EdgeId, int SegmentOrdinal, Vector2[] Polyline)> EnumerateEdgeSegmentPolylines();

Original lines: 2190

Declaration hash: sha256:b4eefc1affa08ec3c077a1c510cfea251c22a78e3b6aba613a969bb6edd8d3bf

C#
public Color? TargetArrowheadOverrideColor { get; set; }

Original lines: 2201

Declaration hash: sha256:2c9bcf0e660ca57645f975ab6aa46ba8b5b20c48c6eb6743657fbb03585d4cea

C#
public System.Func<System.Guid, Color?> TargetArrowheadColorResolver { get; set; }
Full-size image