BitQuirky.Graph.GraphView.Preferences
Public bit quirky graph: editor symbols in BitQuirky.Graph.GraphView.Preferences.
Source snapshot ad0983d00d77.
On this page
Assembly: BitQuirky.Graph.GraphView.Editor
GraphPreviewOrientation
Section titled “GraphPreviewOrientation”Category: Low-level runtime
enum BitQuirky.Graph.GraphView.Preferences.GraphPreviewOrientationSource declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferencesProvider.cs:20-26
Underlying type: int
Flow direction of the preferences live-preview sample graph. Vertical reads top-to-bottom like a behavior tree; Horizontal reads left-to-right like a code / data-flow graph.
Members
Section titled “Members”Horizontal
Section titled “Horizontal”Horizontal = 1Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferencesProvider.cs:25
Entry on the left, children to the right.
Vertical
Section titled “Vertical”Vertical = 0Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferencesProvider.cs:23
Parent above, children below.
GraphViewPreferenceDefaults
Section titled “GraphViewPreferenceDefaults”Category: Low-level runtime
class BitQuirky.Graph.GraphView.Preferences.GraphViewPreferenceDefaultsSource declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:14-52
The values aGraphViewPreferenceStorefalls back to when the reader has never set a preference, and the values a reset restores. A product supplies one of these so its canvas starts out looking like itself.
Members
Section titled “Members”CanvasBackground
Section titled “CanvasBackground”public UnityEngine.Color CanvasBackground { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:23
Starting canvas backdrop color.
EdgeActiveColor
Section titled “EdgeActiveColor”public UnityEngine.Color EdgeActiveColor { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:45
Starting color of an edge marked active.
EdgeActiveStrokeWidth
Section titled “EdgeActiveStrokeWidth”public float EdgeActiveStrokeWidth { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:47
Starting stroke width of an edge marked active.
EdgeIdleColor
Section titled “EdgeIdleColor”public UnityEngine.Color EdgeIdleColor { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:39
Starting color of an edge at rest.
EdgeIdleOpacity
Section titled “EdgeIdleOpacity”public float EdgeIdleOpacity { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:43
Starting opacity of an edge at rest.
EdgeIdleStrokeWidth
Section titled “EdgeIdleStrokeWidth”public float EdgeIdleStrokeWidth { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:41
Starting stroke width of an edge at rest.
EdgeRoutingIndex
Section titled “EdgeRoutingIndex”public int EdgeRoutingIndex { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:37
Starting wire routing, as an index into GraphEdgeRouting.
EdgeStyleIndex
Section titled “EdgeStyleIndex”public int EdgeStyleIndex { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:51
Starting edge style, as an index into the product’s style list.
GridDot
Section titled “GridDot”public UnityEngine.Color GridDot { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:27
Starting grid dot color.
GridDotFrequency
Section titled “GridDotFrequency”public int GridDotFrequency { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:33
Starting number of intersections between grid dots.
GridDotRadius
Section titled “GridDotRadius”public float GridDotRadius { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:35
Starting radius in graph units of a grid dot.
GridLine
Section titled “GridLine”public UnityEngine.Color GridLine { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:25
Starting grid line color.
GridSpacing
Section titled “GridSpacing”public float GridSpacing { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:31
Starting distance in graph units between grid lines.
InvertZoomDirection
Section titled “InvertZoomDirection”public bool InvertZoomDirection { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:19
Whether scrolling up zooms out instead of in.
NodeDensityIndex
Section titled “NodeDensityIndex”public int NodeDensityIndex { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:49
Starting node density, as an index from compact through spacious.
ScrollMovesViewport
Section titled “ScrollMovesViewport”public bool ScrollMovesViewport { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:17
Whether an unmodified scroll pans the canvas rather than zooming it. Defaults to true on macOS, where trackpad scrolling reads as panning.
ShowGridLines
Section titled “ShowGridLines”public bool ShowGridLines { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:29
Whether ruled grid lines start out visible.
ZoomSensitivity
Section titled “ZoomSensitivity”public float ZoomSensitivity { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:21
Starting multiplier applied to each wheel notch before it changes zoom.
GraphViewPreferenceStore
Section titled “GraphViewPreferenceStore”Category: Low-level runtime
class BitQuirky.Graph.GraphView.Preferences.GraphViewPreferenceStoreSource declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:60-524
Reads and writes the canvas preferences for one product, keyed by a prefix so several products can keep their own settings side by side in the editor’s preference storage. Every value is clamped to its published range on both read and write, and a change raisesChangedso open windows can re-apply it immediately.
Members
Section titled “Members”CanvasBackground
Section titled “CanvasBackground”public UnityEngine.Color CanvasBackground { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:167-171
Backdrop color painted behind the whole canvas. Defaults to the shared dark palette’s canvas background, andCreateThemelayers this over that palette.
EdgeActiveColor
Section titled “EdgeActiveColor”public UnityEngine.Color EdgeActiveColor { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:311-315
Color of a wire the host has marked active, which is how a highlighted path reads against the idle wires. Defaults to the shared palette’s active edge color.
EdgeActiveStrokeWidth
Section titled “EdgeActiveStrokeWidth”public float EdgeActiveStrokeWidth { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:323-327
Stroke width a wire the host has marked active is drawn with; setting it above EdgeIdleStrokeWidthis what makes an active wire stand out. Defaults to the shared active stroke width, and both reads and writes clamp to EdgeStrokeWidthMinimum..EdgeStrokeWidthMaximum.
EdgeIdleColor
Section titled “EdgeIdleColor”public UnityEngine.Color EdgeIdleColor { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:277-281
Color of a wire at rest, meaning neither active, hovered, nor selected. Defaults to the shared palette’s idle edge color.
EdgeIdleOpacity
Section titled “EdgeIdleOpacity”public float EdgeIdleOpacity { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:301-305
Opacity of a wire at rest, from 0 to 1, used to push idle wires behind the nodes. Defaults to the shared idle opacity, and both reads and writes clamp to EdgeOpacityMinimum..EdgeOpacityMaximum- the floor keeps a wire visible rather than letting it disappear.
EdgeIdleStrokeWidth
Section titled “EdgeIdleStrokeWidth”public float EdgeIdleStrokeWidth { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:289-293
Stroke width a wire at rest is drawn with - the baseline the heavier active, hovered, and selected treatments read against. Defaults to the shared idle stroke width, and both reads and writes clamp to EdgeStrokeWidthMinimum..EdgeStrokeWidthMaximum.
EdgeRouting
Section titled “EdgeRouting”public BitQuirky.Graph.GraphView.GraphEdgeRouting EdgeRouting { get; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:255-271
The stored routing choice as the value the canvas draws with: index 0 is Orthogonal, 1 Bezier, and 2Straight. Read-only; write EdgeRoutingIndexto change it.
EdgeRoutingIndex
Section titled “EdgeRoutingIndex”public int EdgeRoutingIndex { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:243-247
The stored routing choice as a raw index, which is what a segmented control or popup binds to. Defaults to 1, meaning curved wires. Both reads and writes clamp to EdgeRoutingMinimumIndex..EdgeRoutingMaximumIndex, so the index always maps to a routing. ReadEdgeRoutingto draw with it.
EdgeStyleIndex
Section titled “EdgeStyleIndex”public int EdgeStyleIndex { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:347-351
Which of the product’s wire styles is in use, as an index from EdgeStyleMinimumIndex to EdgeStyleMaximumIndex. Defaults to 0, the product’s first style. Both reads and writes clamp to that range. Separate from EdgeRoutingIndex, which chooses the path rather than the look.
GridDot
Section titled “GridDot”public UnityEngine.Color GridDot { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:188-192
Color of the grid dots marking intersections. Defaults to the shared dark palette’s grid dot color. Independent ofShowGridLines: dots stay visible with lines off, which is how the canvas keeps a sense of scale without ruling.
GridDotFrequency
Section titled “GridDotFrequency”public int GridDotFrequency { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:220-224
How many grid intersections apart the dots are drawn: 1 dots every intersection, 2 every other one. Defaults to 1, and both reads and writes clamp to GridDotFrequencyMinimum..GridDotFrequencyMaximum.
GridDotRadius
Section titled “GridDotRadius”public float GridDotRadius { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:231-235
Radius of one grid dot, in the same graph units asGridSpacing. Defaults to 0.85, and both reads and writes clamp to GridDotRadiusMinimum..GridDotRadiusMaximum.
GridLine
Section titled “GridLine”public UnityEngine.Color GridLine { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:177-181
Color of the ruled grid lines, used only whileShowGridLinesis on. Defaults to the shared dark palette’s grid line color.
GridSpacing
Section titled “GridSpacing”public float GridSpacing { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:209-213
Distance in graph units between adjacent grid lines, which is also the spacing of the intersections dots can land on. Defaults to 20, and both reads and writes clamp to GridSpacingMinimum..GridSpacingMaximum.
InvertZoomDirection
Section titled “InvertZoomDirection”public bool InvertZoomDirection { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:145-149
Whether scrolling up zooms out instead of in. Defaults to false, so scrolling up zooms in; turning it on suits readers who expect the canvas rather than the view to move.
NodeDensityIndex
Section titled “NodeDensityIndex”public int NodeDensityIndex { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:335-339
How much padding and spacing node cards carry, as an index from NodeDensityMinimumIndex(most compact, fits the most on screen) through NodeDensityMaximumIndex(most spacious). Defaults to 1, the middle step. Both reads and writes clamp to that range.
ScrollMovesViewport
Section titled “ScrollMovesViewport”public bool ScrollMovesViewport { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:135-139
Whether an unmodified scroll pans the canvas, leaving zoom to Control-scroll, rather than zooming directly. Defaults to true on macOS and false elsewhere, matching each platform’s usual trackpad convention. DrivesScrollWheelBehavior.
ScrollWheelBehavior
Section titled “ScrollWheelBehavior”public BitQuirky.Graph.GraphView.GraphScrollWheelBehavior ScrollWheelBehavior { get; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:359-362
What the scroll wheel does, derived fromScrollMovesViewport: PanWithControlZoomwhen scrolling pans and Control-scroll zooms, otherwiseZoom. Read-only; setScrollMovesViewportto change it.
ShowGridLines
Section titled “ShowGridLines”public bool ShowGridLines { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:198-202
Whether the ruled grid lines are drawn at all. Defaults to true; turning it off leaves the dots as the only grid cue.
ZoomSensitivity
Section titled “ZoomSensitivity”public float ZoomSensitivity { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:157-161
Multiplier applied to each wheel notch before it changes zoom: higher reaches a given zoom in fewer notches. Defaults to 1, and both reads and writes clamp to ZoomSensitivityMinimum..ZoomSensitivityMaximum, so a value stored by an older build can never make zoom unusable.
Changed
Section titled “Changed”public event System.Action ChangedSource declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:106
Raised after any preference actually changes value, so an open canvas can re-apply the settings. Writing the value a preference already holds raises nothing.
EdgeOpacityMaximum
Section titled “EdgeOpacityMaximum”public const float EdgeOpacityMaximum = 1Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:97
Largest accepted edge opacity.
EdgeOpacityMinimum
Section titled “EdgeOpacityMinimum”public const float EdgeOpacityMinimum = 0.1Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:95
Smallest accepted edge opacity, which still leaves a wire visible.
EdgeRoutingMaximumIndex
Section titled “EdgeRoutingMaximumIndex”public const int EdgeRoutingMaximumIndex = 2Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:89
Highest routing index, matching the last GraphEdgeRouting value.
EdgeRoutingMinimumIndex
Section titled “EdgeRoutingMinimumIndex”public const int EdgeRoutingMinimumIndex = 0Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:87
Lowest routing index, matching the first GraphEdgeRouting value.
EdgeStrokeWidthMaximum
Section titled “EdgeStrokeWidthMaximum”public const float EdgeStrokeWidthMaximum = 3Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:93
Largest accepted edge stroke width.
EdgeStrokeWidthMinimum
Section titled “EdgeStrokeWidthMinimum”public const float EdgeStrokeWidthMinimum = 0.75Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:91
Smallest accepted edge stroke width.
EdgeStyleMaximumIndex
Section titled “EdgeStyleMaximumIndex”public const int EdgeStyleMaximumIndex = 2Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:85
Highest edge-style index.
EdgeStyleMinimumIndex
Section titled “EdgeStyleMinimumIndex”public const int EdgeStyleMinimumIndex = 0Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:83
Lowest edge-style index.
GridDotFrequencyMaximum
Section titled “GridDotFrequencyMaximum”public const int GridDotFrequencyMaximum = 8Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:73
Largest accepted number of intersections between grid dots.
GridDotFrequencyMinimum
Section titled “GridDotFrequencyMinimum”public const int GridDotFrequencyMinimum = 1Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:71
Smallest accepted number of intersections between grid dots.
GridDotRadiusMaximum
Section titled “GridDotRadiusMaximum”public const float GridDotRadiusMaximum = 3Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:77
Largest accepted grid dot radius, in graph units.
GridDotRadiusMinimum
Section titled “GridDotRadiusMinimum”public const float GridDotRadiusMinimum = 0.1Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:75
Smallest accepted grid dot radius, in graph units.
GridSpacingMaximum
Section titled “GridSpacingMaximum”public const float GridSpacingMaximum = 64Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:69
Largest accepted grid spacing, in graph units.
GridSpacingMinimum
Section titled “GridSpacingMinimum”public const float GridSpacingMinimum = 8Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:67
Smallest accepted grid spacing, in graph units.
NodeDensityMaximumIndex
Section titled “NodeDensityMaximumIndex”public const int NodeDensityMaximumIndex = 2Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:81
Highest node-density index, the most spacious setting.
NodeDensityMinimumIndex
Section titled “NodeDensityMinimumIndex”public const int NodeDensityMinimumIndex = 0Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:79
Lowest node-density index, the most compact setting.
ZoomSensitivityMaximum
Section titled “ZoomSensitivityMaximum”public const float ZoomSensitivityMaximum = 2Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:65
Largest accepted zoom sensitivity.
ZoomSensitivityMinimum
Section titled “ZoomSensitivityMinimum”public const float ZoomSensitivityMinimum = 0.25Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:63
Smallest accepted zoom sensitivity.
GraphViewPreferenceStore(string keyPrefix, GraphViewPreferenceDefaults defaults)
Section titled “GraphViewPreferenceStore(string keyPrefix, GraphViewPreferenceDefaults defaults)”public GraphViewPreferenceStore(string keyPrefix, BitQuirky.Graph.GraphView.Preferences.GraphViewPreferenceDefaults defaults)Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:117-128
Opens the store for one product.keyPrefixnamespaces every stored
key, and a trailing dot is appended when absent, so two products never read each other’s
settings;defaultssupplies the value each preference reports until
the reader writes one, and the value a reset restores. Throws
ArgumentExceptionon a blank prefix and
ArgumentNullExceptionon null defaults, because a store with no namespace
or no fallbacks would silently report wrong settings.
ApplyTo(GraphViewHost host)
Section titled “ApplyTo(GraphViewHost host)”public void ApplyTo(BitQuirky.Graph.GraphView.GraphViewHost host)Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:407-429
Applies every stored preference to a live canvas, repainting it. A null host is ignored, so a caller need not check whether its window is open.
ApplyTo(GraphViewOptions options)
Section titled “ApplyTo(GraphViewOptions options)”public void ApplyTo(BitQuirky.Graph.GraphView.GraphViewOptions options)Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:380-401
Copies every stored preference into an options object, for a canvas that has not been built yet.
Exceptions
ArgumentNullException:optionsis null.
CreateTheme()
Section titled “CreateTheme()”public BitQuirky.Graph.GraphView.GraphTheme CreateTheme()Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:367-373
Builds a theme from the stored canvas and grid colors over the shared dark palette.
ResetAll()
Section titled “ResetAll()”public void ResetAll()Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:435-444
Restores every preference to its default, raising a change for each value that actually moved.
ResetEdges()
Section titled “ResetEdges()”public void ResetEdges()Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:465-473
Restores the edge preferences to their defaults, leaving the canvas, grid, and interaction settings alone.
ResetGrid()
Section titled “ResetGrid()”public void ResetGrid()Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferenceStore.cs:450-459
Restores the canvas and grid preferences to their defaults, leaving interaction and edge settings alone.
GraphViewPreferencesProvider
Section titled “GraphViewPreferencesProvider”Category: Low-level runtime
class BitQuirky.Graph.GraphView.Preferences.GraphViewPreferencesProviderSource declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferencesProvider.cs:75-870
Creates the shared canvas preferences page, so every product exposes the same grid, edge, and interaction settings in its own place in the editor’s preferences.
Members
Section titled “Members”Create(GraphViewPreferenceStore store, GraphViewPreferencesProviderOptions options)
Section titled “Create(GraphViewPreferenceStore store, GraphViewPreferencesProviderOptions options)”public static UnityEditor.SettingsProvider Create(BitQuirky.Graph.GraphView.Preferences.GraphViewPreferenceStore store, BitQuirky.Graph.GraphView.Preferences.GraphViewPreferencesProviderOptions options)Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferencesProvider.cs:89-102
Builds the editor preferences page for a product’s canvas, reading and writing through
storeso every change applies immediately.
Exceptions
ArgumentNullException:storeoroptionsis null.ArgumentException: The options carry no path or no label.
GraphViewPreferencesProviderOptions
Section titled “GraphViewPreferencesProviderOptions”Category: Low-level runtime
class BitQuirky.Graph.GraphView.Preferences.GraphViewPreferencesProviderOptionsSource declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferencesProvider.cs:32-69
How a product identifies and captions its canvas preferences page, and which parts of that page it supplies itself.
Members
Section titled “Members”HeaderIconBuilder
Section titled “HeaderIconBuilder”public System.Func<UnityEngine.UIElements.VisualElement> HeaderIconBuilder { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferencesProvider.cs:59
Optional builder for the header icon tile content. When set the tile drops its generic border / fill and the returned element owns the whole tile (product app glyphs). Null keeps the generic three-dot tile.
HeaderSubtitle
Section titled “HeaderSubtitle”public string HeaderSubtitle { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferencesProvider.cs:41
Line under the headline; defaults to a note that changes take effect at once.
HeaderTitle
Section titled “HeaderTitle”public string HeaderTitle { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferencesProvider.cs:39
Headline shown at the top of the page.
Keywords
Section titled “Keywords”public System.Collections.Generic.IEnumerable<string> Keywords { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferencesProvider.cs:43
Words that match this page in the preferences search box.
public string Label { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferencesProvider.cs:37
The page’s name in the preferences list. Required.
public string Path { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferencesProvider.cs:35
Where the page appears in the editor’s preferences tree, such as Preferences/My Product/Graph. Required.
PreviewOrientation
Section titled “PreviewOrientation”public BitQuirky.Graph.GraphView.Preferences.GraphPreviewOrientation PreviewOrientation { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferencesProvider.cs:51
Orientation of the live-preview sample graph. Defaults to Verticalso behavior-tree consumers are unaffected; code-flow consumers pass Horizontal.
PreviewSampleBuilder
Section titled “PreviewSampleBuilder”public System.Func<BitQuirky.Graph.GraphView.Preferences.GraphViewPreferenceStore, UnityEngine.UIElements.VisualElement> PreviewSampleBuilder { get; set; }Source declaration: ../bitquirky-graph/Editor/GraphView/Preferences/GraphViewPreferencesProvider.cs:68
Optional builder for the live-preview sample content layered over the grid. When set the provider suppresses its default entry / value / return sample nodes and painted edges; the returned element fills the preview and owns every sample node, edge, and caption. Null keeps the generic sample graph.
Source fingerprint: sha256:ad0983d00d773d882bc61865e18d8c5559e009d181e5891575cd7f262515b23e