Yog.FSharp
Getting Started Examples API Reference GitHub

Star Graphs (\(S_n\))

A star graph is a complete bipartite graph \(K_{1,n-1}\). It consists of a central hub node connected to all other nodes.

#I "../../src/Yog.FSharp/bin/Debug/net10.0"
#r "Yog.FSharp.dll"

open Yog.Model
open Yog.Generators

let s6 = Classic.star 6 Undirected

Visual Representation

graph TD 0 --- 1 0 --- 2 0 --- 3 0 --- 4 0 --- 5
val s6: obj