API Reference
Command
New-HtmlXDiagramNode
Adds a node to the current diagram.
Remarks
Use inside New-HtmlXDiagram { }.
Examples
New-HtmlXDiagramNode -Id 1 -Label "Web" -Color Primary
New-HtmlXDiagramNode -Id 2 -Label "API" -Color Info
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-HtmlXDiagramNode [-BorderColor <Blue>] [-Color <Blue>] [-Group <string>] [-Hidden] [-Id <object>] [-Label <string>] [-Level <int>] [-Physics] [-Shape <Ellipse>] [-Size <double>] [-Title <string>] [-X <double>] [-Y <double>] [<CommonParameters>]#Parameters
- BorderColor TablerColor
- Node border color (Tabler palette). Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
- Possible values:
Blue,Azure,Indigo,Purple,Pink,Red,Orange,Yellow,Lime,Green,Teal,Cyan,White,Black,BlueLight,AzureLight,IndigoLight,PurpleLight,PinkLight,RedLight,OrangeLight,YellowLight,LimeLight,GreenLight,TealLight,CyanLight,Gray50,Gray100,Gray200,Gray300,Gray400,Gray500,Gray600,Gray700,Gray800,Gray900,Facebook,Twitter,Linkedin,Google,Youtube,Vimeo,Dribbble,Github,Instagram,Pinterest,Vk,Rss,Flickr,Bitbucket,Tabler,Default,Primary,Secondary,Success,Failed,Info,Warning,Danger,Light,Dark,Transparent - Color TablerColor
- Node background color (Tabler palette). Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
- Possible values:
Blue,Azure,Indigo,Purple,Pink,Red,Orange,Yellow,Lime,Green,Teal,Cyan,White,Black,BlueLight,AzureLight,IndigoLight,PurpleLight,PinkLight,RedLight,OrangeLight,YellowLight,LimeLight,GreenLight,TealLight,CyanLight,Gray50,Gray100,Gray200,Gray300,Gray400,Gray500,Gray600,Gray700,Gray800,Gray900,Facebook,Twitter,Linkedin,Google,Youtube,Vimeo,Dribbble,Github,Instagram,Pinterest,Vk,Rss,Flickr,Bitbucket,Tabler,Default,Primary,Secondary,Success,Failed,Info,Warning,Danger,Light,Dark,Transparent - Group string
- Group name for shared styling.
- Hidden SwitchParameter
- Marks the node as hidden.
- Id object
- Node identifier.
- Label string
- Node label.
- Level int
- Hierarchical level for layout.
- Physics SwitchParameter
- Enables physics simulation for the node.
- Shape VisNetworkNodeShape
- Node shape. Possible values: Ellipse, Circle, Database, Box, Text, Image, CircularImage, Diamond, Dot, Square, Triangle, TriangleDown, Hexagon, Star, Icon, Custom
- Possible values:
Ellipse,Circle,Database,Box,Text,Image,CircularImage,Diamond,Dot,Square,Triangle,TriangleDown,Hexagon,Star,Icon,Custom - Size double
- Node size.
- Title string
- Tooltip text.
- X double
- Initial X position.
- Y double
- Initial Y position.
Outputs
HtmlForgeX.VisNetworkNodeOptions