Giter VIP home page Giter VIP logo

Comments (10)

hizzgdev avatar hizzgdev commented on May 16, 2024

链接属性是freemind提供的吗?如果是的话,我考察一下,可以进行支持。如果不是的话,你可以给一个节点的topic设置为html代码以实现链接功能。

from jsmind.

xdsnet avatar xdsnet commented on May 16, 2024

链接属性是freemind提供的,选中节点后,插入菜单中可以分别插入到文件(快捷键 Ctrl+Shift+K)的链接或者文字(URL,快捷键 Ctrl+K)

from jsmind.

leeboo avatar leeboo commented on May 16, 2024

建议:
显示的节点除了topic,在增加一个内容,比如text等;这样显示的时候显示topic,里面有html内容,如图标,链接等,双击修改时显示text这个纯文本

from jsmind.

hizzgdev avatar hizzgdev commented on May 16, 2024

@leeboo

jsmin主要是为了显示脑图,其编辑功能比较弱,目前也并没有这方面的功能增强计划,你可以尝试自己完善。
至于增加内容方面,jsmind的每一个node都有一个data属性可以存储额外的信息。你可以试着用用。

from jsmind.

manyuanbin avatar manyuanbin commented on May 16, 2024

jsmind node是否支持html不仅仅是string 的topic

from jsmind.

hizzgdev avatar hizzgdev commented on May 16, 2024

@manyuanbin 不是很明白你的意思。
目前node支持普通文本,图片,以及html。
这些特性文档中都有描述,你可以看看是否满足你的要求。

from jsmind.

mendream avatar mendream commented on May 16, 2024

麻烦问一下,怎么实现给一个节点的topic设置为html代码以实现链接功能?本人是小白,新来的,麻烦了

from jsmind.

hizzgdev avatar hizzgdev commented on May 16, 2024

@mendream

jm.add_node('pid', 'id', '<a href="node-url">node-topic</a>',null);
jm.update_node('id','<a href="node-url">node-topic</a>');

https://github.com/hizzgdev/jsmind/blob/master/docs/zh/3.operation.md#34-编辑节点
添加节点 : 使用 jm.add_node(parent_node, nodeid, topic, data) 方法可添加一个节点。
更新节点 : 使用 jm.update_node(nodeid, topic) 方法可更新指定节点的 topic

from jsmind.

xue560 avatar xue560 commented on May 16, 2024

麻烦问一下,jsmind能否更改线条为折线以及在线条上增加备注信息

from jsmind.

hizzgdev avatar hizzgdev commented on May 16, 2024

@xue560
目前不支持在线条上增加备注,也不支持直接通过配置改为折线。
但改折线还是比较容易的,你看一下源码的 bezierto 或 lineto 方法,实现一下折线的方法就行了。

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.