dot_writer.py (13870:2536e3a4b58d) | dot_writer.py (14060:84e06ed846ea) |
---|---|
1# Copyright (c) 2012-2013 ARM Limited | 1# Copyright (c) 2012-2013,2019 ARM Limited |
2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license 9# terms below provided that you ensure that this notice is replicated --- 139 unchanged lines hidden (view full) --- 149 ini_strings = [] 150 for param in sorted(simNode._params.keys()): 151 value = simNode._values.get(param) 152 if value != None: 153 # parameter name = value in HTML friendly format 154 ini_strings.append(str(param) + "=" + 155 simNode._values[param].ini_str()) 156 # join all the parameters with an HTML newline | 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license 9# terms below provided that you ensure that this notice is replicated --- 139 unchanged lines hidden (view full) --- 149 ini_strings = [] 150 for param in sorted(simNode._params.keys()): 151 value = simNode._values.get(param) 152 if value != None: 153 # parameter name = value in HTML friendly format 154 ini_strings.append(str(param) + "=" + 155 simNode._values[param].ini_str()) 156 # join all the parameters with an HTML newline |
157 tooltip = "
".join(ini_strings) | 157 tooltip = " \\".join(ini_strings) |
158 159 return pydot.Cluster( \ 160 full_path, \ 161 shape = "Mrecord", \ 162 label = label, \ 163 tooltip = "\"" + tooltip + "\"", \ 164 style = "\"rounded, filled\"", \ 165 color = "#000000", \ --- 218 unchanged lines hidden --- | 158 159 return pydot.Cluster( \ 160 full_path, \ 161 shape = "Mrecord", \ 162 label = label, \ 163 tooltip = "\"" + tooltip + "\"", \ 164 style = "\"rounded, filled\"", \ 165 color = "#000000", \ --- 218 unchanged lines hidden --- |