Class TopologyExtension

Namespace
Kuestenlogik.Bowire.Topology
Assembly
Kuestenlogik.Bowire.Topology.dll

The topology view (#1049): the nodes of a cluster, a broker or a set of sidecars and the connections between them, coloured by status and redrawn with each frame. Mounts on a field of the topology.graph kind, which ToJson() writes and the built-in detector recognises. Picking a node offers the calls the plugin scoped to it.

[BowireExtension]
public sealed class TopologyExtension : IBowireUiExtension
Inheritance
TopologyExtension
Implements
Inherited Members

Constructors

TopologyExtension()

public TopologyExtension()

Fields

Kind

The kind the view registers for.

public const string Kind = "topology.graph"

Field Value

string

Properties

BowireApiRange

Semver range the extension declares compatibility with — e.g. "1.x" for any v1 of the Bowire API. The workbench compares this against its own Bowire API version on load; a mismatch shows the extension in a disabled state with a "needs Bowire {x}.x" badge instead of mounting it.

public string BowireApiRange { get; }

Property Value

string

BundleResourceName

Embedded-resource name of the JS bundle that calls window.BowireExtensions.register({...}). Resolved against the declaring assembly via GetManifestResourceStream(string) (prefixed with the assembly's default namespace by OpenRead(Assembly, IBowireUiExtension, string)). Served at /api/ui/extensions/{Id}/{Name}.

public string BundleResourceName { get; }

Property Value

string

Capabilities

Capability bitmask — which mounting roles the extension is prepared to fill. Drives the workbench's tab placement (Viewer → response pane, Editor → request pane).

public ExtensionCapabilities Capabilities { get; }

Property Value

ExtensionCapabilities

Id

Stable extension identifier — typically {vendor}.{name}. Same string the JS-side register({ id }) call uses, so the workbench can pair the server-side descriptor with the JS-side registration record.

public string Id { get; }

Property Value

string

Kinds

Semantic kinds this extension can mount against (e.g. ["coordinate.wgs84"] for the built-in map widget). One extension can claim several kinds — a future MIL-symbol package might claim mil.symbol-code + mil.echelon in the same registration.

public IReadOnlyList<string> Kinds { get; }

Property Value

IReadOnlyList<string>

StylesResourceName

Optional embedded-resource name of a stylesheet shipped alongside the bundle. null when the extension renders without any dedicated CSS (most do).

public string? StylesResourceName { get; }

Property Value

string