GithubHelp home page GithubHelp logo

使用canvas 和svg的区别 about jsmind HOT 4 CLOSED

hizzgdev avatar hizzgdev commented on August 20, 2024
使用canvas 和svg的区别

from jsmind.

Comments (4)

hizzgdev avatar hizzgdev commented on August 20, 2024

svg在表达图形方面具有更好语义,而canvas的效率会更高。
开发jsMind的时候,节点使用html+css,线条使用canvas,以期效率最高。

关于两者的讨论,可参考知乎上的一个主题:https://www.zhihu.com/question/19690014

from jsmind.

mybydhn avatar mybydhn commented on August 20, 2024

好的,谢谢你的解答。项目中需要这块的内容。期待在使用的过程中不会出现大问题。哈哈。

from jsmind.

mybydhn avatar mybydhn commented on August 20, 2024

不好意思 在问你一个问题 begin_edit 这个方法 如果需要与后台交互 进行数据的判断 有回调函数吗?

from jsmind.

hizzgdev avatar hizzgdev commented on August 20, 2024

目前没有提供这个回调函数。
不过既然你找到了 begin_edit ,你可以按需要自己添加。
欢迎你提交pull-request

from jsmind.

Related Issues (20)

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.