// NewLevelGraph create a new level graph with nodes, but with only empty levels
NewLevelGraph create a new level graph with nodes, but with only empty levels
// NewLevelGraph create a new level graph with nodes but with only empty levels
func NewLevelGraph(g graph.Graph) *LevelGraph {
	return &LevelGraph{
		graph.NewAdjacencyListGraph(g.NodeCount(), g.Directed()),
		make([]Level, g.NodeCount(), g.NodeCount()),
	}
}
func NewLevelGraph ( g graph . Graph ) * LevelGraph { return & LevelGraph { graph . NewAdjacencyListGraph ( g . NodeCount ( ) , g . Directed ( ) ) , make ( [ ] Level , g . NodeCount ( ) , g . NodeCount ( ) ) , } }
NewLevelGraph create a new level graph with nodes, but with only empty levels
NewLevelGraph create a new level graph with nodes but with only empty levels