Git Product home page Git Product logo

xmpaint's Introduction

xmpaint

OI 业界良心系列 之 秒杀mspaint的画图工具

基于 graphviz 二次开发,直接以邻接表的形式输入一张图就能把它画出来:

image

有向/无向图,边权什么的都是嗞磁的:

image

可以给一些点和边高亮:

image

还可以给点和边设置别名,特别适用于需要离散化、splay、AC自动机、层次图等节点编号不直观的图:

image

总之,下文所述都可以用 xmpaint 来画,你只需要在调试的时候把邻接表输出出来,再粘贴进去就行了:

  • 题目里直接输入的图
  • 最短路
  • 网络流
  • 各种自动机
  • Splay
  • 并查集
  • 线段树
  • 树分治
  • 记忆化搜索(调用顺序为邻接表) ……

→ Windows 打包版本下载

→ 详细的使用说明

xmpaint's People

Contributors

xmcp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

xmpaint's Issues

Support for Unicode aliases?

Or is that graphviz does not support Unicode...

Happened to run into issues while writing stuff for bzoj1143.

You can't type Chinese into the Alias tab. It will just throw a bunch of nonsense at you after render.

xmpaint预计新增功能:“监视剪切板”

设计意图:当调试信息比较多的时候,手动复制信息再粘贴到xmpaint里比较麻烦,或许可以直接全选复制,然后让xmpaint识别其中的信息。

大致思路:监听tk的<FocusIn>,在callback里tk.clipboard_get()获取剪切板内容,搜索magic word并处理之。

magic word可以有:

  • $$! what what what (addedge)
  • $$@ what (highlight)
  • $$# what what (nickname)
  • $$!clear, $$@clear, $$#clear, $$clear (clear input)

请问为什么无法使用啊

是因为我的系统是64位的吗?
之前安装过python。
但是卸载了。
应该是没有问题的,可是为什么我的64位系统无法使用啊,显示报错。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.