diff --git a/src/main/scala/diplomacy/LazyModule.scala b/src/main/scala/diplomacy/LazyModule.scala index 2e3e2dae..78f7e65a 100644 --- a/src/main/scala/diplomacy/LazyModule.scala +++ b/src/main/scala/diplomacy/LazyModule.scala @@ -59,7 +59,7 @@ abstract class LazyModule()(implicit val p: Parameters) buf ++= "\n" buf ++= " \n" buf ++= " \n" - buf ++= " \n" + buf ++= " \n" buf ++= " \n" nodesGraphML(buf, " ") edgesGraphML(buf, " ") @@ -72,11 +72,13 @@ abstract class LazyModule()(implicit val p: Parameters) private def nodesGraphML(buf: StringBuilder, pad: String) { buf ++= s"""${pad}\n""" - buf ++= s"""${pad} ${module.instanceName}\n""" + buf ++= s"""${pad} ${instanceName}\n""" + buf ++= s"""${pad} ${moduleName} (${pathName})\n""" buf ++= s"""${pad} \n""" nodes.filter(!_.omitGraphML).foreach { n => buf ++= s"""${pad} \n""" - buf ++= s"""${pad} ${n.nodedebugstring}\n""" + buf ++= s"""${pad} \n""" + buf ++= s"""${pad} ${n.nodedebugstring}\n""" buf ++= s"""${pad} \n""" } children.filter(!_.omitGraphML).foreach { _.nodesGraphML(buf, pad + " ") }