论文标题

使用PYVIS和VISJS的网络可视化

Network visualizations with Pyvis and VisJS

论文作者

Perrone, Giancarlo, Unpingco, Jose, Lu, Haw-minn

论文摘要

Pyvis是一个Python模块,可在Jupyter笔记本电脑中或作为独立的Web应用程序中可视化和交互式操纵网络图。 Pyvis建立在功能强大且成熟的Visjs JavaScript库的顶部,该库可以进行快速响应的交互,同时还将低级JavaScript和HTML抽象。这意味着可以在Python中指定渲染图可视化的元素,例如节点/边缘属性,并运送到JavaScript层以供Visjs呈现。这种声明性的方法使快速探索图形可视化并研究数据关系变得容易。此外,PYVIS具有高度可定制的,因此可以将颜色,尺寸和悬停工具提示分配给渲染图。网络图布局由可从python接口配置的前端物理引擎控制,从而允许图形元素的详细放置。在本文中,我们概述了Pyvis的用例,其中包含特定示例,以突出任何分析工作流程的关键功能。 PYVIS实现的简要概述描述了Python前端绑定如何使用简单的PYVIS调用。

Pyvis is a Python module that enables visualizing and interactively manipulating network graphs in the Jupyter notebook, or as a standalone web application. Pyvis is built on top of the powerful and mature VisJS JavaScript library, which allows for fast and responsive interactions while also abstracting away the low-level JavaScript and HTML. This means that elements of the rendered graph visualization, such as node/edge attributes can be specified within Python and shipped to the JavaScript layer for VisJS to render. This declarative approach makes it easy to quickly explore graph visualizations and investigate data relationships. In addition, Pyvis is highly customizable so that colors, sizes, and hover tooltips can be assigned to the rendered graph. The network graph layout is controlled by a front-end physics engine that is configurable from a Python interface, allowing for the detailed placement of the graph elements. In this paper, we outline use cases for Pyvis with specific examples to highlight key features for any analysis workflow. A brief overview of Pyvis' implementation describes how the Python front-end binding uses simple Pyvis calls.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源