Complete API surface of the Beep.Skia.MindMap assembly: 9 public types with their documented members. Follow the family guide for usage patterns.

Types in this assembly

CentralNode (class)

MemberKindDescription
string TitlePropertyGets or sets the title.
string? NotesPropertyGets or sets the notes.
CentralNode()MethodInitializes a new instance of the CentralNode class.

MindMapControl (class)

Base control for Mind Map nodes providing Material theming and standardized port management.

MemberKindDescription
SKColor BackgroundColorPropertyGets or sets the background color.
SKColor BorderColorPropertyGets or sets the border color.
float BorderThicknessPropertyGets or sets the border thickness.
string IconPropertyOptional icon text (emoji or short glyph) drawn at the node's top-left corner.
bool IsCollapsedPropertyWhen true, descendant nodes and their connecting lines are hidden (apply with Apply).
int InPortCountPropertyNumber of input and output ports (exposed for persistence/editors). Setting these will resize the underlying port collections and relayout.
int OutPortCountPropertyGets or sets the out port count.

MindMapLayout (class)

Radial mind-map auto-layout. The central node is placed at Center; level-1 topics are distributed around it, and deeper levels fan out within each parent's angular sector. Components not connected to the tree are placed in a row below.

MemberKindDescription
float LevelSpacingPropertyDistance from the central node to level-1 topics.
float SubLevelSpacingPropertyDistance from a parent to its child for levels deeper than one.
SKPoint CenterPropertyCenter point of the radial arrangement.
float UnconnectedSpacingPropertyVertical gap used when parking unconnected components.
void Arrange(IReadOnlyList<SkiaComponent> components, IReadOnlyList<IConnectionLine> lines)MethodGets or sets the arrange.

MindMapRichText (class)

Minimal rich-text support for mind-map notes: **bold**, *italic*, bullet lines ("- item" / "* item"), automatic word wrapping, and line breaks.

MemberKindDescription
static List<RichTextSpan> Parse(string text)MethodParses rich text into formatted spans (line breaks included).
static void Draw(SKCanvas canvas, string text, SKRect bounds, SKColor color, float fontSize = 11f, float lineHeight = 15f)MethodDraws rich text inside the given bounds with word wrapping.

MindMapVisibility (class)

Applies collapse/expand visibility across a mind map: descendants of collapsed nodes (and their connecting lines) are hidden; everything else is restored to visible.

MemberKindDescription
static int Apply(IReadOnlyList<SkiaComponent> components, IReadOnlyList<IConnectionLine> lines)MethodRecomputes node and line visibility from IsCollapsed. The number of components/lines whose visibility changed.

NoteNode (class)

MemberKindDescription
string TitlePropertyGets or sets the title.
string? NotesPropertyGets or sets the notes.
NoteNode()MethodInitializes a new instance of the NoteNode class.

RichTextSpan (class)

A formatted span of mind-map note text.

MemberKindDescription
string TextPropertyGets or sets the text.
bool BoldPropertyGets or sets the bold.
bool ItalicPropertyGets or sets the italic.
bool IsBulletPropertyGets or sets the is bullet.
bool IsLineBreakPropertyGets or sets the is line break.

SubTopicNode (class)

MemberKindDescription
string TitlePropertyGets or sets the title.
string? NotesPropertyGets or sets the notes.
SubTopicNode()MethodInitializes a new instance of the SubTopicNode class.

TopicNode (class)

MemberKindDescription
string TitlePropertyGets or sets the title.
string? NotesPropertyGets or sets the notes.
TopicNode()MethodInitializes a new instance of the TopicNode class.