• 请不要在回答技术问题时复制粘贴 AI 生成的内容
scriptB0y
V2EX  ›  程序员

用 jupyter 作图教程(dot)

  •  
  •   scriptB0y ·
    laixintao · Sep 21, 2018 · 3881 views
    This topic created in 2800 days ago, the information mentioned may be changed or developed.

    写了一个 jupyter 的 Kernel,可以执行 dot 语言显示作图。

    https://github.com/laixintao/jupyter-dot-kernel

    这里写了一个教程,可以正好是运行在我的这个 jupyter 上面的:

    https://github.com/laixintao/jupyter-dot-kernel/blob/master/Tutorial.ipynb

    对于作图(脑图、数据结构、流程图、架构图、神经网络图)很头疼的同学可以关注一下,这个东西可以满足大部分的需求(唯一的不好就是节点的布局是算法生成的,调整起来比较复杂,需要借助其他软件。但是这个算法也不错,大部分情况不需要自己调整)。

    Supplement 1  ·  Sep 22, 2018
    我感觉不太适合将教程跟这个仓库放在一起,于是将教程移动到另一个仓库里面了。这个仓库的 commit 还是只维护 jupyter 部分的代码。

    https://github.com/laixintao/learn-dot
    3 replies    2018-09-22 17:01:59 +08:00
    heapified
        1
    heapified  
       Sep 21, 2018 via Android
    mark
    xuboying
        2
    xuboying  
       Sep 22, 2018
    这个不能做成一个插件么? jupyter 要升级,有维护成本吧。
    scriptB0y
        3
    scriptB0y  
    OP
       Sep 22, 2018
    @xuboying 就是一个 kernel,如果在 setup.py 的依赖里面删除 jupyter,分开安装也是可以的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5431 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 270ms · UTC 06:57 · PVG 14:57 · LAX 23:57 · JFK 02:57
    ♥ Do have faith in what you're doing.