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.11.0
Menu

GraphViewHost.cs declarations

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

Source snapshot 29003d8b1658.

On this page

Original file: ../bitquirky-graph/Editor/GraphView/GraphViewHost.cs

Source file hash: sha256:3eb9fefdacccc5fc74ac2980c23db1993889677135600e4e3be24770210c88db

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

Original lines: 21-27

Declaration hash: sha256:9725079100048a6300c085d8063976b5c7ceb5fa1346f3dde9e3320b9757bcac

C#
public enum GraphViewportFitAlignment
{
}

Original lines: 24

Declaration hash: sha256:d946067427e930a14aed20312fbd850cff72428d4d602ed04a2ed164ba7d63f4

C#
Center

Original lines: 26

Declaration hash: sha256:4d4c199f76f4273a7dad5cf0dd298ef225d1d08977f7a483c2b9b1923913c243

C#
TopCenter

Original lines: 35-49

Declaration hash: sha256:37e547e743d4d72e591b71f8ce2199c2fbf0cfeb9d40e4e3fe89acb9233cfcc3

C#
public enum NodeAlignment
{
}

Original lines: 38

Declaration hash: sha256:d5cdfcf7ff75338fa974145a13378ee35f7ea04cfabd74b8f5fb6df350cfbcca

C#
Top

Original lines: 40

Declaration hash: sha256:479ad21ac9096236e921c228a511f12cc84758e21d9edda03ae82c501d367c93

C#
Bottom

Original lines: 42

Declaration hash: sha256:58eb9032e3bb83f0e39d644ebc87ca254117b95bf458483bec7379bea0b419d0

C#
Left

Original lines: 44

Declaration hash: sha256:883361d5d682a1574410961ce51450b6e036a779c9f098dec71e28aec832bfa6

C#
Right

Original lines: 46

Declaration hash: sha256:d93006ec2e4339d770a7afd068c1f1e789a52df12f595e529fd0f302fc1e5ec7

C#
Middle

Original lines: 48

Declaration hash: sha256:d946067427e930a14aed20312fbd850cff72428d4d602ed04a2ed164ba7d63f4

C#
Center

Original lines: 57-63

Declaration hash: sha256:b463c9b0d64e436559985f52fc706cf3bcf21eaaf5c97ac0d929712e625549d9

C#
public enum NodeDistributeAxis
{
}

Original lines: 60

Declaration hash: sha256:0abba441f16eff90782e7a820fd5abb05a1749cca37bff515e4cc968238a2d26

C#
Horizontal

Original lines: 62

Declaration hash: sha256:727cd3a64d792ad410e3cb6036da3eb54dbac258e87c554e3b6081c1a5efc0e6

C#
Vertical

Original lines: 85-5579

Declaration hash: sha256:881cf350deb1b74cd2a529cc9e18a155d01109320ca859248e0bcd6c5694cd69

C#
public class GraphViewHost : VisualElement
{
}

Method: AlignmentLabel(NodeAlignment alignment)

Section titled “Method: AlignmentLabel(NodeAlignment alignment)”

Original lines: 164-173

Declaration hash: sha256:03411edb88ca66a64cd3e0122f558d68e1798a6f874f06e9d9ce494d4cbdfce3

C#
public static string AlignmentLabel(NodeAlignment alignment);

Method: AlignmentShortcutText(NodeAlignment alignment)

Section titled “Method: AlignmentShortcutText(NodeAlignment alignment)”

Original lines: 179-188

Declaration hash: sha256:40bb299beb7906e672d5604474aa7188f3ef924c1497ecc7d8e477d4300ef784

C#
public static string AlignmentShortcutText(NodeAlignment alignment);

Original lines: 194

Declaration hash: sha256:11de04242b320a9a91efa6ad002974a33835fa8e73d21de7ad9ae43a0d1cb8f0

C#
public event Action<IReadOnlyCollection<Guid>> OnSelectionChanged;

Original lines: 199

Declaration hash: sha256:5c0e2a4d6f88bb4a1cc7c95e62e0b1d32b139a46c7925cb3d01c5436fd8e2fc4

C#
public event Action<IReadOnlyList<(Guid Id, Vector2 Position)>> OnNodeMoved;

Original lines: 204

Declaration hash: sha256:76426d6c119d1113d2122724ae54738f57333d6b030fd52a73c129968dc87453

C#
public event Action<Vector2, float> OnViewportChanged;

Original lines: 209

Declaration hash: sha256:f10694b7189886a2636f8f4f3a823dfcb6d8da0cdfaac4c4ea86fdf66fdc7a14

C#
public event Action<ConnectionRequest> OnEdgeCreated;

Original lines: 215

Declaration hash: sha256:9c9b8f40ab16f520a0002ab7885e3ffbf9e7d3e898cf440393e40a8ff5b74726

C#
public event Action OnEdgesRendered;

Original lines: 226

Declaration hash: sha256:fe87446d0d637447a41be0ec6e3005c2890ddb8f1c43fb1ab9fa6d8cfc9e226b

C#
public event Action<ConnectionCandidate, ConnectionVerdict> OnConnectionRejected;

Original lines: 236

Declaration hash: sha256:d2400cf12bcb4f69cb99bc0dad73f57ce93f9a28859234c09c7e07346ce44a6a

C#
public event Action<bool, ConnectionCandidate> OnConnectionDragHover;

Original lines: 243

Declaration hash: sha256:9287fffaac026ffe199fe4547e58a30e55cd3911fc4566a42e6df3b470282bd2

C#
public event Action<ConnectionDragSource> OnConnectionDragStarted;

Original lines: 250

Declaration hash: sha256:27e9aed6f78e47f4d8d0a8b42e0bb8afcaac6c8f0f9da9c0664e7d17b3870b66

C#
public event Action<ConnectionDragSource> OnConnectionDragEnded;

Original lines: 256

Declaration hash: sha256:74dad603425ca0a3a4bad1cfbb06fb243d947299b01e12eed80ed89192fc8001

C#
public event Action<Guid> OnNodeDoubleClicked;

Original lines: 265

Declaration hash: sha256:8b3ff420c0c7c94e03de7f852f696f2ad91fd88c31542d17371dca75650f1902

C#
public event Action<Guid, Vector2> OnCommentPopupResized;

Original lines: 273

Declaration hash: sha256:33578fc670e8ccb02d6799350fce9c3694d0df621ed609ff669c758655f35c38

C#
public event Action<Guid> OnCommentGlyphActivated;

Original lines: 279

Declaration hash: sha256:faa2c1e6d6c318e5b8985050e9f045c398c8e7a3cb10c1c177d8b2804bcc6438

C#
public Func<Guid, bool> CanNodeGoToSource { get; set; }

Original lines: 284

Declaration hash: sha256:c0b053e50f894940a28e9b4dbb59def38db6f2bbeac3ca1e2d85e421753c1585

C#
public event Action<Guid> OnNodeContextMenuGoToSource;

Original lines: 296

Declaration hash: sha256:43af1fea6defbe054c19890548597c7d512f8ab849e79e2c6bb54330871007f8

C#
public event Action<Guid, ContextualMenuPopulateEvent> OnNodeContextMenuRequested;

Original lines: 306

Declaration hash: sha256:a0fd8db5cd9d1cd87b3b86110b5b329f326d926ce149811f1b8fed7a690ac1fe

C#
public event Action<ContextualMenuPopulateEvent> OnCanvasContextMenuRequested;

Original lines: 315

Declaration hash: sha256:25f75d09eb08169cddc69b8fe2dba76f4e76b5427db3043253db7dd98b236e1d

C#
public event Action<string> OnSplitRequested;

Original lines: 323

Declaration hash: sha256:840d840c84967d98dbb24f366ae52b62a64d6f325d3f81750f3cea69ff581e1e

C#
public event Action<string, string> OnRecombineRequested;

Original lines: 332

Declaration hash: sha256:af63d85be28857bbd63a3bcbc3a151cad906253c11b1b2cbc7e382a3535c9ae2

C#
public event Action<string, string> OnShowInstanceAsWire;

Original lines: 340

Declaration hash: sha256:00f7d5dbe3720b3657ad3626a75167121bb59ef713f12acddfaf26d13f7caeac

C#
public event Action<string, string> OnShowInstanceAsPill;

Original lines: 348

Declaration hash: sha256:5379f09799bff37b81f02bd228cc54c2c00a1dc3393ba101917dff210c7ede74

C#
public event Action<string, string> OnSplitReadRequested;

Original lines: 357

Declaration hash: sha256:5bac48ae2cd9c22c1b5377b87113dc07d2a68e45675a7aa42ad34fc420873885

C#
public event Action<string, string> OnRecombineReadRequested;

Original lines: 365

Declaration hash: sha256:1add3add3a614dbfd94e8f989936bd9a199e33ab2b31247a0b74a081c9a0b245

C#
public event Action<Guid, string> OnPortBreakAllLinks;

Original lines: 373

Declaration hash: sha256:e9d3cbf000362d0f17b3a88cce503d11cec445e99a163265ad0b84e11c3f936e

C#
public event Action<Guid, string, Guid, string> OnPortBreakLinkTo;

Original lines: 380

Declaration hash: sha256:af52559d1a4ad3e5db7ba8a8622513b2b3178d6f54ae65f6467c22d6312af8dd

C#
public event Action<Guid, string, string> OnInlineLiteralCommitted;

Original lines: 388

Declaration hash: sha256:dae320552e6ecf71a5d6ddfeaecd5e1577c999bc3ddc7b3eda68040231af1f61

C#
public event Action<Guid, string, IReadOnlyList<string>> OnCompositeLiteralCommitted;

Original lines: 394

Declaration hash: sha256:509eed294f6726a76c6aea0acecc8f5a89e75f4f1b94199e1fc6a7d2ec329e73

C#
public event Action<Guid, string, string> OnInlineReferenceCommitted;

Original lines: 402

Declaration hash: sha256:4b803ad595f36fc85ee4122d0bebea7e78c7d6c65b46542d4627e3931418df6a

C#
public event Action<Guid, string> OnPinValuePressed;

Original lines: 410

Declaration hash: sha256:7b24a2523531d31ef37db2a4322552c9be900db98854f764aa2a0f1fbea0f03b

C#
public event Action<Guid, string> OnObjectReferenceComboClicked;

Original lines: 417

Declaration hash: sha256:0a3b4ae97b28cad71b69f41179de9bb8c405f05d14d5f5454ec5076a1abf9be8

C#
public event Action<Guid, string> OnObjectReferenceLocateRequested;

Original lines: 423

Declaration hash: sha256:a55175b9a76cceb4d8a0f944b7dd4946c791f75ecd6f213fd503c895d1e66275

C#
public event Action<Guid, string> OnObjectReferenceClearRequested;

Original lines: 430

Declaration hash: sha256:802e9b50d0b4ce9a201188b9497a455072e3ab697a16e0be6e3789be49ef5880

C#
public event Action<Guid, string, IReadOnlyList<UnityEngine.Object>> OnObjectReferenceDropped;

Original lines: 436

Declaration hash: sha256:c6cd756d8f0437069c653562257334a63bb2ff814b57c8872bc9769944d58806

C#
public event Action<Guid> OnGuardShieldClicked;

Original lines: 446

Declaration hash: sha256:badd01427645e5f439cbe74746ff2506fbfd929ef5343e1964a0057c12bb25aa

C#
public event Action<NodeDropOnNode> OnNodeDroppedOnNode;

Original lines: 454

Declaration hash: sha256:f115162274a73de460ae0f78a2c81986b4d2732affdf9aab496919c6627b42d5

C#
public event Action<Guid, Guid?> OnNodeDragHover;

Original lines: 463

Declaration hash: sha256:fd17c25876c9f11e607eaa6644787f2248b91bd10737ff06f5bce4e3dc1a7d34

C#
public event Action<EdgeEndpointDetached> OnEdgeEndpointDetached;

Original lines: 472

Declaration hash: sha256:185566a8a252a86b1d88d5a5f3a945ddbc88f5ef8850e4093f5c443168a37877

C#
public event Action<EdgeEndpointDragHover> OnEdgeEndpointDragHover;

Original lines: 480

Declaration hash: sha256:e6453978b276119ea52fddcbd19c181f947a6ae5534521b2ff1d5b854ccea5aa

C#
public event Action OnEdgeEndpointDragCancelled;

Original lines: 488

Declaration hash: sha256:8fa76c753e747389d620a95086d33cf656fc4c14ca183cdaa44132089abf57c8

C#
public event Action OnNodeDragCancelled;

Original lines: 495

Declaration hash: sha256:2bfc208948316603faf7b65f5627f73d35d2fc5790ad49ed6230deea01ca7d11

C#
public event Action<PortHover> OnPortHoverChanged;

Original lines: 505

Declaration hash: sha256:221210844fca991fb8978d96f67abb455cbb92579d71863fe4538ffb2068055d

C#
public event Action<EdgeRewired> OnEdgeRewired;

Original lines: 515

Declaration hash: sha256:35953a4a493d8645e72abd5fe4b50615f1b5c04d3aad1fe6577574a16c37f6a1

C#
public event Action<ConnectionDropRequest> OnConnectionDroppedOnCanvas;

Original lines: 641

Declaration hash: sha256:6267a18adb61f5e5d622e11073eeb79a949b7c4382b80e55150856393a9d8a53

C#
public event Action<NodeDefinition, PortDefinition> OnPortClicked;

Original lines: 694

Declaration hash: sha256:f98ced712ed48fccf487ad41ce680188100540624720157b7af95add391b714f

C#
public float Zoom { get; }

Original lines: 696

Declaration hash: sha256:2a1e8520bec2b45e9245ae533256c14b8d177856d0fa77c4f74ebb9816588877

C#
public float MinZoom { get; }

Original lines: 698

Declaration hash: sha256:49dd5e679847c264f8de302a319236cbebf335f47213ed1875ffcf3fd6bdb191

C#
public float MaxZoom { get; }

Original lines: 706

Declaration hash: sha256:3f4e17d7cbbaca9c9419c1f08ee526a77fe004d54b2a8b9358521a43d2ddf411

C#
public bool CanAlignSelection { get; }

Original lines: 713

Declaration hash: sha256:568e236fdb1ec169eaa56d7575e87cec475a514788a231df1754355509a1a5f1

C#
public bool CanDistributeSelection { get; }

Original lines: 723-725

Declaration hash: sha256:e9c2c7df1fe2329c47affd06235d4584bf52c61c4c120850221dd4ee922b6643

C#
public Guid? PrimarySelection { get; }

Original lines: 728

Declaration hash: sha256:22cfa5704a4137037e3341c6fddda998386db740113608812012be7169ab5b5f

C#
public GraphViewModel Model { get; }

Method: Initialize(GraphViewOptions options)

Section titled “Method: Initialize(GraphViewOptions options)”

Original lines: 836-960

Declaration hash: sha256:403f084cf0fe0595278674f20493c479bff91598b8be389381b0da2993dc14b8

C#
public void Initialize(GraphViewOptions options);

Original lines: 1085-1092

Declaration hash: sha256:5db093665070db809073b63aa1a530a804a0bcbc7a798e32c64523dbe8f09a95

C#
public void PanBy(Vector2 viewDelta);

Original lines: 1113-1135

Declaration hash: sha256:c4de4da51c272a7b56b94c369e1bd4ce21c566b8b370a2dbf9ae534ab1ff55a3

C#
public void SetModel(GraphViewModel model);

Method: UpdateModel(GraphViewModel model, IReadOnlyCollection<Guid> changedNodeIds)

Section titled “Method: UpdateModel(GraphViewModel model, IReadOnlyCollection<Guid> changedNodeIds)”

Original lines: 1148-1228

Declaration hash: sha256:62bcb2a44328363b82895fdf5c615d5d470d756664d05adb55af29497c87918a

C#
public void UpdateModel(GraphViewModel model, IReadOnlyCollection<Guid> changedNodeIds = null);

Original lines: 1237-1251

Declaration hash: sha256:53337824de3b82a11688c17e3441764ed345e3807c27b1c74c65d221d4a81987

C#
public void AutoLayout();

Original lines: 2038-2047

Declaration hash: sha256:5d8a65cd98cfc62f24f10158fc33c8c8c268150ff0fdd0e46595282f6d4aba1d

C#
public void RenderEdgesImmediate();

Original lines: 2742-2770

Declaration hash: sha256:68ee589fb93f07210870764ab343dddded36401c22b60bc1332873183e974046

C#
public void SetLayout(LayoutState layout);

Original lines: 2789-2801

Declaration hash: sha256:5522c45056a5de6fd75f9378b1a8b4fa0f8bc2b96c2c20faea0fd453372df93f

C#
public void SetZoom(float zoom);

Method: SetZoom(float zoom, Vector2 zoomCenterView)

Section titled “Method: SetZoom(float zoom, Vector2 zoomCenterView)”

Original lines: 2808-2821

Declaration hash: sha256:a2986eeff2c2b8624bd5302ed530875e8688eb676ea7f9d921389da9347e6634

C#
public void SetZoom(float zoom, Vector2 zoomCenterView);

Method: SetScrollWheelBehavior(GraphScrollWheelBehavior behavior)

Section titled “Method: SetScrollWheelBehavior(GraphScrollWheelBehavior behavior)”

Original lines: 2827-2831

Declaration hash: sha256:b3aabb1ec9906da49a75ea579df01ecfd8db50a0248a108f720c03c749ca548d

C#
public void SetScrollWheelBehavior(GraphScrollWheelBehavior behavior);

Original lines: 2848-2853

Declaration hash: sha256:7d1f78f13028c8fa04864791694cb22f94c9efb3406dbcc94e51f484233223f4

C#
public void SetPanZoomLocked(bool locked);

Original lines: 2858

Declaration hash: sha256:06d8f41fa92b996ce6ed69fe6b7c9b8d4744e81a8c2e2732635f91b53fc04d0e

C#
public bool IsPanZoomLocked { get; }

Method: SetInvertZoomDirection(bool invert)

Section titled “Method: SetInvertZoomDirection(bool invert)”

Original lines: 2863-2867

Declaration hash: sha256:137116f7325a8e0907399e0c1ab8cfa780605bde01aa9db79c30b671bd592ad8

C#
public void SetInvertZoomDirection(bool invert);

Method: SetZoomSensitivity(float sensitivity)

Section titled “Method: SetZoomSensitivity(float sensitivity)”

Original lines: 2873-2881

Declaration hash: sha256:b4853c10181a5a60edb9e11aa3c0174f9d31c41df17cd1378525cebf4d3747aa

C#
public void SetZoomSensitivity(float sensitivity);

Method: AddRerouteKnotOverlay(VisualElement element)

Section titled “Method: AddRerouteKnotOverlay(VisualElement element)”

Original lines: 2905-2910

Declaration hash: sha256:ed94caea2c91b704020c446f398fb49eb504445fad850898a12d9121ce7a92de

C#
public void AddRerouteKnotOverlay(VisualElement element);

Original lines: 2917-2921

Declaration hash: sha256:70d085f4eaa12daeaad87dbf333fa601a48ef08fb13a919dd6182e980359ce64

C#
public void ClearRerouteKnotOverlay();

Original lines: 2927-2934

Declaration hash: sha256:28733ef9d93fec36f2c8631fd05c344bbc64de00ac46bd21378ae66a303266e6

C#
public void RefreshEdges();

Original lines: 2941

Declaration hash: sha256:48b661bc5010af23c39950a4193ca9ceaa01e14e3fa394fedd1699f3f132dbe2

C#
public EdgeLayer EdgeLayer { get; }

Original lines: 2948

Declaration hash: sha256:a8ff851a5878a7c4126f799036527e6b343a461adda9494aa98d3bc028828386

C#
public EdgeLayer SelectedEdgeLayer { get; }

Method: TryPickExecutionEdge(Vector2 graphSpacePosition, out Guid edgeId)

Section titled “Method: TryPickExecutionEdge(Vector2 graphSpacePosition, out Guid edgeId)”

Original lines: 2954-2959

Declaration hash: sha256:3e84d4eff9c1bd1ef130c834644be8a8d604fae70cdc37ea3e1417ef67dc30a1

C#
public bool TryPickExecutionEdge(Vector2 graphSpacePosition, out Guid edgeId);

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

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

Original lines: 2964-2973

Declaration hash: sha256:1e671bf8123af53927753c585a6ea2409baa63c04cd11f50f29e1b6f1b4f6012

C#
public bool TryPickExecutionEdge(Vector2 graphSpacePosition, float tolerance, out Guid edgeId);

Original lines: 2980

Declaration hash: sha256:488ff75834cb85d74dfc7e360565eb4118276a4024e44163ba43b21127ef1162

C#
public VisualElement OverlayContainer { get; }

Method: TryGetEdgeColor(Guid edgeId, out Color color)

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

Original lines: 2988-2996

Declaration hash: sha256:a04ed2f53a75a7b7c253a7d840a15e89d13a58cf6e59ad7e3fa19a70e962ab01

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

Method: ResolveEdgeLabelPlacement(Guid edgeId, Vector2 labelSize, float clearance, float maxPerpendicularOffset, IReadOnlyList<Rect> additionalOccupiedBounds, out Vector2 center)

Section titled “Method: ResolveEdgeLabelPlacement(Guid edgeId, Vector2 labelSize, float clearance, float maxPerpendicularOffset, IReadOnlyList<Rect> additionalOccupiedBounds, out Vector2 center)”

Original lines: 3013-3055

Declaration hash: sha256:4d37be1820ea12724db83c103a7721645e49258f9aa19973a76666f3a7e1b81e

C#
public GraphEdgeLabelPlacementResult ResolveEdgeLabelPlacement(Guid edgeId, Vector2 labelSize, float clearance, float maxPerpendicularOffset, IReadOnlyList<Rect> additionalOccupiedBounds, out Vector2 center);

Original lines: 3196-3199

Declaration hash: sha256:41bc4363d32e6c9f0dfb0cbb76529dafb3e214ee4d68c50c14550e4e35dfca16

C#
public void FitToContents();

Method: FitToContents(GraphViewportFitAlignment alignment)

Section titled “Method: FitToContents(GraphViewportFitAlignment alignment)”

Original lines: 3210-3227

Declaration hash: sha256:33f1086f7036d0f2580bb5d6544901ab01e54a303db6c9334affac0eb45f1ea5

C#
public void FitToContents(GraphViewportFitAlignment alignment);

Method: FrameContents(GraphViewportFitAlignment alignment, float zoom)

Section titled “Method: FrameContents(GraphViewportFitAlignment alignment, float zoom)”

Original lines: 3235-3247

Declaration hash: sha256:da0df76071013f26a9a3d4fe972a8bb02e6131f178ad0f9b7c2ad1d2052bc22b

C#
public void FrameContents(GraphViewportFitAlignment alignment, float zoom);

Method: TryGetHorizontalViewportIndicator(out float normalizedStart, out float normalizedWidth)

Section titled “Method: TryGetHorizontalViewportIndicator(out float normalizedStart, out float normalizedWidth)”

Original lines: 3277-3298

Declaration hash: sha256:ca5215e44137daa1d81c57e457645410da540b8f0f5da594a9b62afe614efe58

C#
public bool TryGetHorizontalViewportIndicator(out float normalizedStart, out float normalizedWidth);

Method: ApplyGridPresentation(Color backgroundColor, Color gridLineColor, Color gridDotColor, float spacing, int dotFrequency, float dotRadius)

Section titled “Method: ApplyGridPresentation(Color backgroundColor, Color gridLineColor, Color gridDotColor, float spacing, int dotFrequency, float dotRadius)”

Original lines: 3308-3337

Declaration hash: sha256:c832d98b02cc908eb2ebe25217484860c21f9ff794e20664d05548c90fdab3a7

C#
public void ApplyGridPresentation(Color backgroundColor, Color gridLineColor, Color gridDotColor, float spacing, int dotFrequency, float dotRadius);

Method: SetSnapToGridEnabled(bool enabled)

Section titled “Method: SetSnapToGridEnabled(bool enabled)”

Original lines: 3346-3353

Declaration hash: sha256:fa9389904044fb438ab5e1e0637ce1165b0c824be16ad407aece91ce838489e1

C#
public void SetSnapToGridEnabled(bool enabled);

Original lines: 3374-3383

Declaration hash: sha256:1eb06e577fefa0c909237856b9d15fb9a0f33875efd379cb01d933d42822fcd6

C#
public void SetGridLinesVisible(bool visible);

Method: ApplyEdgePresentation(GraphEdgeRouting routing, Color idleColor, float idleStrokeWidth, float idleOpacity, Color activeColor, float activeStrokeWidth)

Section titled “Method: ApplyEdgePresentation(GraphEdgeRouting routing, Color idleColor, float idleStrokeWidth, float idleOpacity, Color activeColor, float activeStrokeWidth)”

Original lines: 3389-3409

Declaration hash: sha256:eeb24b917f21dcc99f29355259a8d20ecf047787ef67f78ade6edcd557fa9bcd

C#
public void ApplyEdgePresentation(GraphEdgeRouting routing, Color idleColor, float idleStrokeWidth, float idleOpacity, Color activeColor, float activeStrokeWidth);

Original lines: 3442

Declaration hash: sha256:6662b6ba979fee11047303d35f9d1ee1fc63821e6ad5d3bec928ac1d169ba696

C#
public const float ContentsViewportMarginPx = 40f;

Method: ViewToGraphSpace(Vector2 viewPosition)

Section titled “Method: ViewToGraphSpace(Vector2 viewPosition)”

Original lines: 3531-3535

Declaration hash: sha256:079464c0837306e436c717d3bf96457549422651ca9b090905fea758c33bf12a

C#
public Vector2 ViewToGraphSpace(Vector2 viewPosition);

Method: GraphToViewSpace(Vector2 graphPosition)

Section titled “Method: GraphToViewSpace(Vector2 graphPosition)”

Original lines: 3550-3554

Declaration hash: sha256:0f9b91b2a690d461c53590f6cf879d2cf37e0cc9e5bbcbbc671436cb4607574d

C#
public Vector2 GraphToViewSpace(Vector2 graphPosition);

Original lines: 3560-3576

Declaration hash: sha256:6bf17ab75da53241a31499b0b4bcec7920ccfc6184c046b492fe85486360acf1

C#
public void ClearSelection();

Original lines: 3582-3589

Declaration hash: sha256:7364d971eab5da1a0b2115b154dced85777b9459ee1864d6b10c0d01823b6012

C#
public void AddToSelection(Guid nodeId);

Original lines: 3594-3601

Declaration hash: sha256:eb23982df47633b66f2a85c4962fd423bc26c8b4c18bb2f045d6bc97663a5f8a

C#
public void RemoveFromSelection(Guid nodeId);

Original lines: 3606-3614

Declaration hash: sha256:4f306ed0191c66a50a0564ace341980ecc0bb65463bc2c2a4fefea3bb3698d73

C#
public void SetSelection(Guid nodeId);

Original lines: 3619-3622

Declaration hash: sha256:9d521899eeef3fdbbf39172701b0ca3c944209653baea2165f5148b51f995001

C#
public IReadOnlyCollection<Guid> GetSelection();

Method: TryGetNodeView(Guid nodeId, out NodeView nodeView)

Section titled “Method: TryGetNodeView(Guid nodeId, out NodeView nodeView)”

Original lines: 3635-3638

Declaration hash: sha256:620e51b6b45ea1b408455a20c65a6783fca26c5738f896573454f71b8eb8f7b9

C#
public bool TryGetNodeView(Guid nodeId, out NodeView nodeView);

Original lines: 3650-3653

Declaration hash: sha256:6f102482622e75f556e71bd72414d8a60a6685e9c8e8a8336d66da6606ac0f0c

C#
public IEnumerable<KeyValuePair<Guid, NodeView>> EnumerateNodeViews();

Method: SetEdgeTreatmentResolver(Func<EdgeDefinition, EdgeTreatment> resolver)

Section titled “Method: SetEdgeTreatmentResolver(Func<EdgeDefinition, EdgeTreatment> resolver)”

Original lines: 3670-3678

Declaration hash: sha256:6f5cc01aa2f02ac98c1880505b7e9f50582f7f2eab35021cac94ec7e29e344ab

C#
public void SetEdgeTreatmentResolver(Func<EdgeDefinition, EdgeTreatment> resolver);

Method: SetEdgeEndpointResolver(Func<EdgeDefinition, bool, Vector2?> resolver)

Section titled “Method: SetEdgeEndpointResolver(Func<EdgeDefinition, bool, Vector2?> resolver)”

Original lines: 3689-3696

Declaration hash: sha256:3f93fe3554913829cb450c6b4f4e0c79f2cb8fc2580eddddd4cd81c20019b65b

C#
public void SetEdgeEndpointResolver(Func<EdgeDefinition, bool, Vector2?> resolver);

Method: SetBoundaryRoutingResolver(Func<EdgeDefinition, bool> resolver)

Section titled “Method: SetBoundaryRoutingResolver(Func<EdgeDefinition, bool> resolver)”

Original lines: 3704-3711

Declaration hash: sha256:2b83a7ba44c21b1221fbf405c9a1bf799ea149afbf2e54775a37d3149ec8feca

C#
public void SetBoundaryRoutingResolver(Func<EdgeDefinition, bool> resolver);

Method: SetEdgeArrowheadResolver(Func<EdgeDefinition, bool> resolver)

Section titled “Method: SetEdgeArrowheadResolver(Func<EdgeDefinition, bool> resolver)”

Original lines: 3719-3726

Declaration hash: sha256:1c59a2e272ef13a84976d4c584ad688d648ae0c0f32c1ba43798c5f6057878e9

C#
public void SetEdgeArrowheadResolver(Func<EdgeDefinition, bool> resolver);

Method: ResolveExecutionEdgeInteractionState(EdgeDefinition edge)

Section titled “Method: ResolveExecutionEdgeInteractionState(EdgeDefinition edge)”

Original lines: 3733-3742

Declaration hash: sha256:5a7056ec26b9ca1d7cbeb936211be3dc76387edbb582d9e2bc7b0811ca3114fb

C#
public GraphEdgeInteractionState ResolveExecutionEdgeInteractionState(EdgeDefinition edge);

Original lines: 3754-3772

Declaration hash: sha256:184980081c312a1f74f0414ca2dd3054ae6eef4924fb0b0eaf1a2d02c8ec46b9

C#
public void CenterOnNode(Guid nodeId);

Original lines: 3775-3778

Declaration hash: sha256:a57f6f652e2afbb60ba481eb25fc0181df350e4afdc29fc2c0ffe4f3615720e0

C#
public bool IsSelected(Guid nodeId);

Original lines: 3790-3824

Declaration hash: sha256:18400e8b97a4a42ed19e139d66680c84bff0be46630fd7cefa26258091c3fe8b

C#
public void MoveSelection(Vector2 delta);

Method: AlignSelectedNodes(NodeAlignment alignment)

Section titled “Method: AlignSelectedNodes(NodeAlignment alignment)”

Original lines: 3838-3882

Declaration hash: sha256:c55c50baab19f604300a250981275486e4cba218cb896fe1033130533ad684b6

C#
public void AlignSelectedNodes(NodeAlignment alignment);

Method: DistributeSelectedNodes(NodeDistributeAxis axis)

Section titled “Method: DistributeSelectedNodes(NodeDistributeAxis axis)”

Original lines: 3902-3954

Declaration hash: sha256:aa55963d4a3de74c5e6b9148d1b5d7cb8a9c2444f51221548ad78c4a3b008dbd

C#
public void DistributeSelectedNodes(NodeDistributeAxis axis);

Original lines: 4003-4011

Declaration hash: sha256:7d8518777ca270fabfb7770cf3c60051e45ca060831ef4e0c78e8563e1a52c76

C#
public void ShowMarquee(Rect rect);

Original lines: 4016-4020

Declaration hash: sha256:a031b41d9064e3c4be63a1e73ab117f642311154b224e3c4a5c956b5393865ec

C#
public void HideMarquee();

Method: SelectNodesInRect(Rect graphRect, bool additive, Vector2? primaryNear)

Section titled “Method: SelectNodesInRect(Rect graphRect, bool additive, Vector2? primaryNear)”

Original lines: 4033-4080

Declaration hash: sha256:05fbdcb9d7c88d789df0d1467ebcbcaacbe883aa4e06cf6c0088289a12690d37

C#
public void SelectNodesInRect(Rect graphRect, bool additive, Vector2? primaryNear = null);

Original lines: 4119

Declaration hash: sha256:37315be6b46e10b906dc647a50c07ecc0a6a76d75dffd3c42aee2ca159be0d99

C#
public bool HasActiveConnection { get; }

Original lines: 4128-4177

Declaration hash: sha256:151d4e692547f0b137290d84c253e11643be6e5272e8a189e4cbdaaac680068a

C#
public void StartConnection(PortView source);

Method: StartConnectionFromDataEdge(Guid edgeId, Vector2? visualStartWorld)

Section titled “Method: StartConnectionFromDataEdge(Guid edgeId, Vector2? visualStartWorld)”

Original lines: 4197-4214

Declaration hash: sha256:1727cca170d4fd79ed8a9e8253ba64717878ccdb1362482f51be21c6fce1e902

C#
public void StartConnectionFromDataEdge(Guid edgeId, Vector2? visualStartWorld = null);

Method: UpdateConnection(Vector2 mousePosition)

Section titled “Method: UpdateConnection(Vector2 mousePosition)”

Original lines: 4222-4269

Declaration hash: sha256:c1911065f8a743dfeadc0d59ace88c696f01d0d9583197603b5707420bc425ec

C#
public void UpdateConnection(Vector2 mousePosition);

Original lines: 4312-4315

Declaration hash: sha256:f8cc6dedbe50e73adaa41a82e47b69087c585884c601f910163114c18913c781

C#
public void CancelConnection();

Original lines: 4423-4426

Declaration hash: sha256:1d787eecbf1b822691f5ac29866c2160645e7e40415dae78819f410b25394cb6

C#
public LayoutState GetLayout();

Original lines: 4434-4500

Declaration hash: sha256:413e95723a5cfe825853bd9a3c6c6a5b098ad35838fca09a06db85e675809d55

C#
public void EndConnection(PortView target);

Original lines: 4569-4592

Declaration hash: sha256:ff467b6e55b2e9e70b3aaaee0088df8618a422bac559c6a9b97f2f258f3fd659

C#
public PortView GetPortAt(Vector2 worldPos);

Original lines: 4693-4731

Declaration hash: sha256:fce0a71cdd113affbd44afc6ce1a187e0272927962003e1fc6acdda396d39ceb

C#
public void EmitNodeMovedForSelection();

Method: SnapNodePositions(IEnumerable<Guid> nodeIds)

Section titled “Method: SnapNodePositions(IEnumerable<Guid> nodeIds)”

Original lines: 4747-4761

Declaration hash: sha256:1323cb4e39a20d177817740e264a2d01acf0901e49fb0a127751c7f5fe144a61

C#
public void SnapNodePositions(IEnumerable<Guid> nodeIds);

Method: SettleNodesOnGrid(IEnumerable<Guid> nodeIds)

Section titled “Method: SettleNodesOnGrid(IEnumerable<Guid> nodeIds)”

Original lines: 4772-4782

Declaration hash: sha256:cea463e8a3bdddd07b1fae439ff8402b85021846ed443e5c79c700bd1fa8caa7

C#
public void SettleNodesOnGrid(IEnumerable<Guid> nodeIds);

Original lines: 4829-4832

Declaration hash: sha256:6de41b19a585732820999bb1aa50abdc6006fe70aaec1a3f307bd13b9588d2f0

C#
public Guid? GetNodeAt(Vector2 worldPos);

Method: WorldToGraphSpace(Vector2 worldPos)

Section titled “Method: WorldToGraphSpace(Vector2 worldPos)”

Original lines: 4838-4841

Declaration hash: sha256:c39817d9a610e1606ff4326d62e55dfa777712dcd54375194fc5a512cd55ddf0

C#
public Vector2 WorldToGraphSpace(Vector2 worldPos);

Original lines: 4850

Declaration hash: sha256:6615c0be43fb04c6063e446904e8b6802d10c25ea3019390048ced9666f8ec53

C#
public bool IsNodeDragInProgress { get; }

Method: NotifyNodeDragHover(Guid draggedNodeId, Vector2 graphSpacePosition)

Section titled “Method: NotifyNodeDragHover(Guid draggedNodeId, Vector2 graphSpacePosition)”

Original lines: 4910-4915

Declaration hash: sha256:1b1d90523b54ab0d9ab96ef487a54ab4902a53cc7d73bf9d8cc7a28acffc7c4f

C#
public void NotifyNodeDragHover(Guid draggedNodeId, Vector2 graphSpacePosition);

Method: NotifyNodeReleased(Guid draggedNodeId, Vector2 graphSpaceReleasePosition)

Section titled “Method: NotifyNodeReleased(Guid draggedNodeId, Vector2 graphSpaceReleasePosition)”

Original lines: 4927-4936

Declaration hash: sha256:8a7ca3dde3e4637d225fe6b9c5aa96f5ac298474ef0e82fbd428f2fe387e9622

C#
public void NotifyNodeReleased(Guid draggedNodeId, Vector2 graphSpaceReleasePosition);

Original lines: 5001

Declaration hash: sha256:6645397236a12839797a22b101dd9c706e6f2357ca5adac38996398b950308cb

C#
public bool HasGrabbedEdgeEndpoint { get; }

Original lines: 5008

Declaration hash: sha256:268f941f4e486b4337fc7457a304d9b86736d487464bde2875c916a3e3eb34a0

C#
public bool GrabbedEndpointIsSourceEnd { get; }

Method: TryBeginEdgeEndpointDrag(Vector2 graphSpacePosition)

Section titled “Method: TryBeginEdgeEndpointDrag(Vector2 graphSpacePosition)”

Original lines: 5018-5049

Declaration hash: sha256:592e2b57fedafa31e7e517c0ee6be7d620537a7cba60836bb3c9449a09c1a63b

C#
public bool TryBeginEdgeEndpointDrag(Vector2 graphSpacePosition);

Method: CanBeginEdgeEndpointDrag(Vector2 graphSpacePosition)

Section titled “Method: CanBeginEdgeEndpointDrag(Vector2 graphSpacePosition)”

Original lines: 5059-5069

Declaration hash: sha256:b5ec0c27a3f7471c21c24c9a48e4f58de55edf7a74adb5aa1d8dd2dc5dfbe233

C#
public bool CanBeginEdgeEndpointDrag(Vector2 graphSpacePosition);

Method: CanBeginEdgeEndpointDragFromPort(PortView portView)

Section titled “Method: CanBeginEdgeEndpointDragFromPort(PortView portView)”

Original lines: 5078-5106

Declaration hash: sha256:8b0d9de9b82a545091bd127c37e7db09526950e910f399ea8b947bdc24f03913

C#
public bool CanBeginEdgeEndpointDragFromPort(PortView portView);

Method: TryBeginEdgeEndpointDragFromPort(PortView portView)

Section titled “Method: TryBeginEdgeEndpointDragFromPort(PortView portView)”

Original lines: 5115-5158

Declaration hash: sha256:3243f48f8d6df0c6557681f6b8c0cc002f6750a6e1401d1080ccfe02ee21ed3f

C#
public bool TryBeginEdgeEndpointDragFromPort(PortView portView);

Method: UpdateEdgeEndpointDrag(Vector2 graphSpacePosition)

Section titled “Method: UpdateEdgeEndpointDrag(Vector2 graphSpacePosition)”

Original lines: 5206-5235

Declaration hash: sha256:ce7c9c23f08bb182633e7153354e208e631734681419e187561f93883455485e

C#
public void UpdateEdgeEndpointDrag(Vector2 graphSpacePosition);

Method: NotifyEdgeEndpointReleased(Vector2 graphSpaceReleasePosition)

Section titled “Method: NotifyEdgeEndpointReleased(Vector2 graphSpaceReleasePosition)”

Original lines: 5242-5253

Declaration hash: sha256:290fcf17c38ec08e10817b9bd32491b5d5ca07e895cb960c8b2069054300440c

C#
public void NotifyEdgeEndpointReleased(Vector2 graphSpaceReleasePosition);

Method: NotifyEdgeEndpointReleased(Guid edgeId, Vector2 graphSpaceReleasePosition)

Section titled “Method: NotifyEdgeEndpointReleased(Guid edgeId, Vector2 graphSpaceReleasePosition)”

Original lines: 5260-5265

Declaration hash: sha256:9d0fb145fe735124e0827fb18f841cb720b17caeb9f85fe3a9e152e2a929605c

C#
public void NotifyEdgeEndpointReleased(Guid edgeId, Vector2 graphSpaceReleasePosition);

Method: EndEdgeEndpointDrag(PortView target, Vector2 graphSpaceReleasePosition)

Section titled “Method: EndEdgeEndpointDrag(PortView target, Vector2 graphSpaceReleasePosition)”

Original lines: 5276-5319

Declaration hash: sha256:a6fd420996f14f4fe1632936ecb10c146aa391103fc2929c2381c32bd915661c

C#
public void EndEdgeEndpointDrag(PortView target, Vector2 graphSpaceReleasePosition);

Original lines: 5393-5403

Declaration hash: sha256:7ca31c87627999121b512046bee42da944de916ca2b87c0ea7c375877a4c7c26

C#
public void CancelEdgeEndpointDrag();

Method: ShowWirePreview(Vector2 fromGraphSpace, Guid toNodeId, string toPortId)

Section titled “Method: ShowWirePreview(Vector2 fromGraphSpace, Guid toNodeId, string toPortId)”

Original lines: 5415-5424

Declaration hash: sha256:d575946545c7c9b3ad632e235f1f6c493514d43a54568b731c4f94303e5d6049

C#
public bool ShowWirePreview(Vector2 fromGraphSpace, Guid toNodeId, string toPortId);

Method: ShowWirePreview(Guid fromNodeId, string fromPortId, Guid toNodeId, string toPortId)

Section titled “Method: ShowWirePreview(Guid fromNodeId, string fromPortId, Guid toNodeId, string toPortId)”

Original lines: 5432-5443

Declaration hash: sha256:c544fa97e086ccb7f6747a63244ac5f9a4cbd57da82b16eb11742ed8c2b085a6

C#
public bool ShowWirePreview(Guid fromNodeId, string fromPortId, Guid toNodeId, string toPortId);

Original lines: 5446-5449

Declaration hash: sha256:397aea350e5533a61892d5e0a86f7fad52fb83a8aafa168f1adaba23a70aeea8

C#
public void ClearWirePreview();
Full-size image