标签: javascript html
这是我的代码
G.add_nodes_from([(node, {'attribute': attr}) for (node, attr) in dictionary.items()])
现在的问题是,当我们打印这个时,它需要大量的空白高度我的意思是不必要的高度来到打印我希望它应该打印只包含哪些可用于div没有其他空白的长度