API Reference
TopologyIconDefinition
Describes one topology icon that can be referenced by nodes and groups.
Inheritance
- Object
- TopologyIconDefinition
Usage
Explore 7 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 6
- Method TopologyIconCatalog.Resolve
- Property TopologyIconCatalogItem.Icon
- Method TopologyIconDefinition.WithArtwork
- Method TopologyIconDefinition.WithMetadata
- Method TopologyIconDefinition.WithTags
- Property TopologyIconPack.Icons
Accepted by parameters 1
- Method TopologyIconPack.AddIcon
Constructors
public TopologyIconDefinition(String packId, String id, String label, TopologyNodeKind nodeKind, TopologyIconShape shape = Auto) #Initializes a topology icon definition.
Parameters
- packId System.String
- id System.String
- label System.String
- nodeKind ChartForgeX.Topology.TopologyNodeKind
- shape ChartForgeX.Topology.TopologyIconShape = Auto
Methods
public TopologyIconDefinition WithArtwork(TopologyIconArtwork artwork) #TopologyIconDefinitionSets icon artwork and returns the current icon definition.
Parameters
- artwork ChartForgeX.Topology.TopologyIconArtwork
public TopologyIconDefinition WithMetadata(String key, String value) #TopologyIconDefinitionAdds or replaces icon metadata and returns the current icon definition.
Parameters
- key System.String
- value System.String
public TopologyIconDefinition WithTags(params String[] tags) #TopologyIconDefinitionAdds icon-level search tags and returns the current icon definition.
Parameters
- tags System.String[]
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public String PackId { get; set; } #Gets or sets the source pack id.
public String Id { get; set; } #Gets or sets the local icon id inside the pack.
public String QualifiedId { get; } #Gets the fully qualified icon id.
public String Label { get; set; } #Gets or sets the display label.
public TopologyNodeKind NodeKind { get; set; } #Gets or sets the default topology node kind for this icon.
public TopologyIconShape Shape { get; set; } #Gets or sets the renderer-owned shape hint.
public String? Symbol { get; set; } #Gets or sets the short fallback symbol.
public String? Color { get; set; } #Gets or sets the optional identity color used when the node does not set a color.
public String? Category { get; set; } #Gets or sets the optional catalog category.
public TopologyNodeDisplayMode? DisplayMode { get; set; } #Gets or sets an optional default display mode for this icon.
public TopologyIconArtwork? Artwork { get; set; } #Gets or sets optional SVG/image artwork used by SVG and HTML renderers.
public Dictionary<String, String> Metadata { get; } #Gets arbitrary metadata for host-side pickers and vendor adapters.
public List<String> Tags { get; } #Gets search tags for host-side pickers.