From f1c3447904c59b75833a9bc0e3365117a7d9f2c6 Mon Sep 17 00:00:00 2001 From: demx8as6 Date: Sun, 6 Mar 2022 14:11:23 +0100 Subject: [PATCH] ADD N1, N2 N3 interfacing to topology generation - The UE width size was doubled, so the entire SVG width must be changed too Issue-Id: OAM-256 Change-Id: I5b8fbf22c939a2e5afa99fc73f26a217deb8e9f1 Signed-off-by: demx8as6 --- .../model/python/tapi_common_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/network-topology-instance-generator/model/python/tapi_common_context.py b/code/network-topology-instance-generator/model/python/tapi_common_context.py index 7c96391..03d779b 100644 --- a/code/network-topology-instance-generator/model/python/tapi_common_context.py +++ b/code/network-topology-instance-generator/model/python/tapi_common_context.py @@ -86,7 +86,7 @@ class TapiCommonContext(Top): def __svg_width(self) -> int: p = self.configuration()['network']['pattern'] - return (p['smo'] * p['near-rt-ric'] * p['o-cu'] * p['o-du'] * p['fronthaul-gateway'] * p['o-ru'] * p['user-equipment'] + 1) * 2*2*self.FONTSIZE + return (p['smo'] * p['near-rt-ric'] * p['o-cu'] * p['o-du'] * p['fronthaul-gateway'] * p['o-ru'] * p['user-equipment'] + 1) * 4*2*self.FONTSIZE def __svg_height(self) -> int: return (8 * 11 + 6) * self.FONTSIZE -- 2.16.6