VisioNetworkTopologyDiagramBuilder
OfficeIMO.Visio.Diagrams
High-level builder for network topologies where OfficeIMO places devices from links.
Inheritance
- object
- VisioNetworkTopologyDiagramBuilder
Usage
Explore 31 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 29
- Method VisioNetworkTopologyDiagramBuilder.Callout
- Method VisioNetworkTopologyDiagramBuilder.Database
- Method VisioNetworkTopologyDiagramBuilder.Ethernet
- Method VisioNetworkTopologyDiagramBuilder.Firewall
- Method VisioNetworkTopologyDiagramBuilder.FitPageToTopology
- Method VisioNetworkTopologyDiagramBuilder.Internet
- Method VisioNetworkTopologyDiagramBuilder.Legend
- Method VisioNetworkTopologyDiagramBuilder.Link
- Method VisioNetworkTopologyDiagramBuilder.Management
- Method VisioNetworkTopologyDiagramBuilder.Margins
- Method VisioNetworkTopologyDiagramBuilder.Node
- Method VisioNetworkTopologyDiagramBuilder.NodeSize
- Method VisioNetworkTopologyDiagramBuilder.PageSize
- Method VisioNetworkTopologyDiagramBuilder.Printer
- Method VisioNetworkTopologyDiagramBuilder.Root
- Method VisioNetworkTopologyDiagramBuilder.Router
- Method VisioNetworkTopologyDiagramBuilder.Server
- Method VisioNetworkTopologyDiagramBuilder.Spacing
- Method VisioNetworkTopologyDiagramBuilder.Storage
- Method VisioNetworkTopologyDiagramBuilder.Subnet
- Method VisioNetworkTopologyDiagramBuilder.Switch
- Method VisioNetworkTopologyDiagramBuilder.Theme
- Method VisioNetworkTopologyDiagramBuilder.Title
- Method VisioNetworkTopologyDiagramBuilder.Trunk
- Method VisioNetworkTopologyDiagramBuilder.User
- Method VisioNetworkTopologyDiagramBuilder.Wireless
- Method VisioNetworkTopologyDiagramBuilder.WirelessLink
- Method VisioNetworkTopologyDiagramBuilder.Workstation
- Method VisioNetworkTopologyDiagramBuilder.Zone
Accepted by parameters 2
- Method VisioNetworkDiagramDocumentExtensions.NetworkTopologyDiagram
- Extension method VisioDocument.NetworkTopologyDiagram
Methods
public VisioNetworkTopologyDiagramBuilder Callout(string targetId, string text, double pinX, double pinY, Action<VisioCalloutOptions>? configure = null) #Adds a semantic callout connected to a known topology node using a generated callout id.
Parameters
- targetId string
- text string
- pinX double
- pinY double
- configure System.Action<OfficeIMO.Visio.VisioCalloutOptions>? = null
public VisioNetworkTopologyDiagramBuilder Callout(string targetId, string id, string text, double pinX, double pinY, Action<VisioCalloutOptions>? configure = null) #Adds a semantic callout connected to a known topology node.
Parameters
- targetId string
- id string
- text string
- pinX double
- pinY double
- configure System.Action<OfficeIMO.Visio.VisioCalloutOptions>? = null
public VisioNetworkTopologyDiagramBuilder Callout(string targetId, string text, VisioSide placement, double gap = 0.35, Action<VisioCalloutOptions>? configure = null) #Adds a semantic callout placed beside a known topology node using a generated callout id.
Parameters
- targetId string
- text string
- placement OfficeIMO.Visio.VisioSide
- gap double = 0.35
- configure System.Action<OfficeIMO.Visio.VisioCalloutOptions>? = null
public VisioNetworkTopologyDiagramBuilder Callout(string targetId, string id, string text, VisioSide placement, double gap = 0.35, Action<VisioCalloutOptions>? configure = null) #Adds a semantic callout placed beside a known topology node.
Parameters
- targetId string
- id string
- text string
- placement OfficeIMO.Visio.VisioSide
- gap double = 0.35
- configure System.Action<OfficeIMO.Visio.VisioCalloutOptions>? = null
public VisioNetworkTopologyDiagramBuilder Database(string id, string text) #Adds a database node.
Parameters
- id string
- text string
public VisioNetworkTopologyDiagramBuilder Ethernet(string fromId, string toId, string? label = null) #Adds a standard network link.
Parameters
- fromId string
- toId string
- label string? = null
public VisioNetworkTopologyDiagramBuilder Firewall(string id, string text) #Adds a firewall node.
Parameters
- id string
- text string
public VisioNetworkTopologyDiagramBuilder FitPageToTopology(bool enabled = true) #Sets whether the builder can grow the page to fit the topology. Enabled by default.
Parameters
- enabled bool = true
public VisioNetworkTopologyDiagramBuilder Internet(string id, string text) #Adds an Internet/external network node.
Parameters
- id string
- text string
public VisioNetworkTopologyDiagramBuilder Legend(string id, string text) #Adds a note or legend node.
Parameters
- id string
- text string
public VisioNetworkTopologyDiagramBuilder Link(string fromId, string toId, VisioNetworkLinkKind kind, string? label = null) #Adds a link between two known network nodes.
Parameters
- fromId string
- toId string
- kind OfficeIMO.Visio.Diagrams.VisioNetworkLinkKind
- label string? = null
public VisioNetworkTopologyDiagramBuilder Management(string fromId, string toId, string? label = null) #Adds a management connection.
Parameters
- fromId string
- toId string
- label string? = null
public VisioNetworkTopologyDiagramBuilder Margins(double left, double top, double right = 0.8, double bottom = 0.8) #Sets outer page margins used by the automatic layout.
Parameters
- left double
- top double
- right double = 0.8
- bottom double = 0.8
public VisioNetworkTopologyDiagramBuilder Node(string id, string text, VisioNetworkNodeKind kind = Server) #Adds a network node that will be placed by automatic topology layout.
Parameters
- id string
- text string
- kind OfficeIMO.Visio.Diagrams.VisioNetworkNodeKind = Server
public VisioNetworkTopologyDiagramBuilder NodeSize(double width, double height) #Sets the default network node size.
Parameters
- width double
- height double
public VisioNetworkTopologyDiagramBuilder PageSize(double width, double height, VisioMeasurementUnit unit = Inches) #Sets the page size used by the generated topology page.
Parameters
- width double
- height double
- unit OfficeIMO.Visio.VisioMeasurementUnit = Inches
public VisioNetworkTopologyDiagramBuilder Printer(string id, string text) #Adds a printer node.
Parameters
- id string
- text string
public VisioNetworkTopologyDiagramBuilder Root(string id, string text, VisioNetworkNodeKind kind = Internet) #Adds and marks a root node used as the starting point for automatic layout.
Parameters
- id string
- text string
- kind OfficeIMO.Visio.Diagrams.VisioNetworkNodeKind = Internet
public VisioNetworkTopologyDiagramBuilder Root(string id) #Marks an existing node as a root used by automatic layout.
Parameters
- id string
public VisioNetworkTopologyDiagramBuilder Router(string id, string text) #Adds a router node.
Parameters
- id string
- text string
public VisioNetworkTopologyDiagramBuilder Server(string id, string text) #Adds a server node.
Parameters
- id string
- text string
public VisioNetworkTopologyDiagramBuilder Spacing(double columnGap, double rowGap) #Sets spacing between automatic layers and rows.
Parameters
- columnGap double
- rowGap double
public VisioNetworkTopologyDiagramBuilder Storage(string id, string text) #Adds a storage node.
Parameters
- id string
- text string
public VisioNetworkTopologyDiagramBuilder Subnet(string id, string text, params string[] nodeIds) #Adds a subnet-style background zone around automatically placed topology nodes.
Parameters
- id string
- text string
- nodeIds string[]
public VisioNetworkTopologyDiagramBuilder Switch(string id, string text) #Adds a switch node.
Parameters
- id string
- text string
public VisioNetworkTopologyDiagramBuilder Theme(VisioStyleTheme theme) #Sets the visual theme.
Parameters
- theme OfficeIMO.Visio.VisioStyleTheme
public VisioNetworkTopologyDiagramBuilder Title(string? text = null, string id = "title", double height = 0.45, double gap = 0.35) #Adds a centered editable title above the automatically placed topology.
Parameters
- text string? = null
- id string = "title"
- height double = 0.45
- gap double = 0.35
public VisioNetworkTopologyDiagramBuilder Trunk(string fromId, string toId, string? label = null) #Adds a trunk/uplink connection.
Parameters
- fromId string
- toId string
- label string? = null
public VisioNetworkTopologyDiagramBuilder User(string id, string text) #Adds a user/client node.
Parameters
- id string
- text string
public VisioNetworkTopologyDiagramBuilder Wireless(string id, string text) #Adds a wireless access point node.
Parameters
- id string
- text string
public VisioNetworkTopologyDiagramBuilder WirelessLink(string fromId, string toId, string? label = null) #Adds a wireless connection.
Parameters
- fromId string
- toId string
- label string? = null
public VisioNetworkTopologyDiagramBuilder Workstation(string id, string text) #Adds a workstation node.
Parameters
- id string
- text string
public VisioNetworkTopologyDiagramBuilder Zone(string id, string text, params string[] nodeIds) #Adds a background zone around automatically placed topology nodes.
Parameters
- id string
- text string
- nodeIds string[]