TopologyCellLayout
ChartForgeX.Topology
Projects a prepared topology into terminal cells. The topology layout engine places nodes and routes edges once; this projection fits it to a character grid and routes around the resulting cell obstacles. Automatic grouped diagrams reuse compound ranking to pack related regions; authored positions keep their prepared placement. Paint it with TopologyCellLayout.Paint for text or for a terminal widget.
Inheritance
- object
- TopologyCellLayout
Usage
Explore 1 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 1
- Method TopologyCellLayout.Create
Methods
public static TopologyCellLayout Create(PreparedTopology prepared, TopologyCellLayoutOptions? options = null) #Projects a prepared topology into terminal cells.
Parameters
- prepared ChartForgeX.Topology.PreparedTopology
- The prepared topology. Its layout is reused as is.
- options ChartForgeX.Topology.TopologyCellLayoutOptions? = null
- Optional projection options.
public TopologyCellNode? FindNode(string id) #Finds a placed node by id.
Parameters
- id string
Returns
TopologyCellNode?public TopologyCellNode? NodeAt(int column, int row) #Returns the node under a cell, or null.
Parameters
- column int
- row int
Returns
TopologyCellNode?public TopologyCellCanvas Paint(TopologyCellPaintOptions? options = null) #Paints the layout into a character grid. Painting is cheap, so hosts repaint for every step, focus change, or live value.
Parameters
- options ChartForgeX.Topology.TopologyCellPaintOptions? = null
- Optional paint options.