aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/formatting/GraphML.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-16 19:43:35 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-16 19:43:35 +0200
commit61bb37c757e5167b617823d6b100edf54de154d6 (patch)
tree38147759dab3417b0bc29e3e9b6bfca5becebcbe /pyGHDL/dom/formatting/GraphML.py
parenta211cdcf7d5eb5f058d2e38c93092f4548283451 (diff)
downloadghdl-61bb37c757e5167b617823d6b100edf54de154d6.tar.gz
ghdl-61bb37c757e5167b617823d6b100edf54de154d6.tar.bz2
ghdl-61bb37c757e5167b617823d6b100edf54de154d6.zip
Fixed last testcase.
Diffstat (limited to 'pyGHDL/dom/formatting/GraphML.py')
-rw-r--r--pyGHDL/dom/formatting/GraphML.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyGHDL/dom/formatting/GraphML.py b/pyGHDL/dom/formatting/GraphML.py
index 7f72d54b5..0ad31e33f 100644
--- a/pyGHDL/dom/formatting/GraphML.py
+++ b/pyGHDL/dom/formatting/GraphML.py
@@ -91,7 +91,7 @@ class DependencyGraphFormatter:
for vertex in vertices:
if vertex["kind"] is DependencyGraphVertexKind.Architecture:
- value = f"{vertex.Value.Entity.Identifier}({vertex.Value.Identifier})"
+ value = f"{vertex.Value.Entity.Name.Identifier}({vertex.Value.Identifier})"
elif vertex["kind"] is DependencyGraphVertexKind.Document:
value = f"{vertex.ID}"
else: