graphML: don't draw unconnected LazyModules
This commit is contained in:
parent
fcf774f125
commit
ae8fd0c60f
@ -62,7 +62,7 @@ abstract class LazyModule()(implicit val p: Parameters)
|
||||
bindings.reverse.foreach { f => f () }
|
||||
}
|
||||
|
||||
def omitGraphML = nodes.isEmpty && children.isEmpty
|
||||
def omitGraphML: Boolean = !nodes.exists(!_.omitGraphML) && !children.exists(!_.omitGraphML)
|
||||
lazy val graphML: String = parent.map(_.graphML).getOrElse {
|
||||
val buf = new StringBuilder
|
||||
buf ++= "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
|
||||
|
Loading…
Reference in New Issue
Block a user