Giter Site home page Giter Site logo

Comments (24)

dongrentianyu avatar dongrentianyu commented on June 3, 2024

应该说,意义的最高层,下面标签的层级内容最多。所以我感觉这个标签添加应该是添加当前意义之上的意义。而不是相反。但是图谱箭头,却是从最高层意义走向最低层。我感觉不应该反过来吗?从意义的最低层走向意义的最高层。

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

我的想法是生成下面这种链条式的图谱,至少在这四个意义中应该生成链条式的。箭头的方向可以从高到低或从低到高。

为了他们,为了我们-活在这个世界上-认识世界-学习的意义

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

但好像又没问题。不知道是图谱错了,还是标签打错了,现在有些混乱。

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

image

image

看来还是出问题了,变五芒星阵了。

from intention-tower-knowledge-graph.

linonetwo avatar linonetwo commented on June 3, 2024

主要是 https://itkg.netlify.app/#%E7%AE%AD%E5%A4%B4%E7%9A%84%E5%90%AB%E4%B9%89 写了,指向的意思就是 「是为了」,所以你要看是不是做前一个事情是为了后一个事情

有时候意义就是会循环,这时候变成五芒星也没问题呀

from intention-tower-knowledge-graph.

linonetwo avatar linonetwo commented on June 3, 2024

你想想那个生娃为了放羊的故事,不就是循环嘛

from intention-tower-knowledge-graph.

linonetwo avatar linonetwo commented on June 3, 2024

感觉可以给图上意义之间的箭头上,加个「是为了」的文案

还有其实节点大小也是可以用 echarts 改的,但就怕到时候大的太大了,看起来更奇怪

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

不,我主要是觉得总体上的图谱很复杂。如果意义之间是有联系的,那基本上每个意义都会指向其他意义。这个指向一下子就复杂起来了。只要我是一直链条式地传入下去。总体的图谱就会像一个复杂的圆,被指向的箭头越多当然是意义的最高层或者意义的最底层,两者是一个意思。所以才会想要不要修改一下。改成只指向一层。

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

image

我想要的大概是这个效果。但我不知道要不要pr。

但是箭头方向好像反了。

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

image

这样看效果还是不错的。

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

你想想那个生娃为了放羊的故事,不就是循环嘛

这个故事没听说过的样子。看视频的时候好像没讲,还是我漏掉了。

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

image

image

网站上的示例很简单,基本上就一两个节点,但不知道为什么我实际使用起来有这么多节点?

image

就连子任务也是如此。

我尝试着修改,但改起来太麻烦了。改来改去还是不成功。

from intention-tower-knowledge-graph.

linonetwo avatar linonetwo commented on June 3, 2024

你是随机删掉了一些节点吗,或是隐藏多于一条的边?如果它们本就有联系,就不该隐藏掉吧

上下文里就是显示所有上级的意义,毕竟数据就在那,应该改不掉吧

from intention-tower-knowledge-graph.

linonetwo avatar linonetwo commented on June 3, 2024

如果不需要某条边,就去掉tag就好了吧。

放羊那个我是以前在知乎上看的

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

image

没有。我现在修改了$__plugins_linonetwo_intention-tower-knowledge-graph_ViewTemplate_TaskContext.tid这个条目。

<$echarts
  $tiddler="$:/plugins/linonetwo/intention-tower-knowledge-graph/ViewTemplate/AllProjectsFlowChartEchartsAddon"
  currentTiddler=<<currentTiddler>>
  tiddlerSource="[[$(currentTiddler)$]] [[$(currentTiddler)$]tags[]]"
  dblclick="(params, parentWidget) => { parentWidget.dispatchEvent({ type: 'tm-navigate', navigateTo: params.data.name }) }"
/>

里面的tagsintree,改成了tags筛选器,这样就干净很多了。

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

image

我发现这个插件自定义也挺强的。就是可以修改原来的图谱,然后展示不同的内容。

不过我主要是把里面的tagsintree,改成了tags筛选器,这样就干净很多了。而且tagsintress筛选器好像是另一个插件附带的。

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

我先关了吧,我的问题多少解决了,后来的人有问题可以重开。

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

再次感谢林一二做出这么好的插件来。

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

image

这是原本的。

image

这是简化后的。

我觉得可以简化图谱,这样看起来就不是很复杂,线条就不会很多。不然后面新增项目,图谱节点太多了反而没有意义。

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

修改则是把$:/plugins/linonetwo/intention-tower-knowledge-graph/ViewTemplate/AllProjectsFlowChartEchartsAddon条目里的

<$list filter="[subfilter<tiddlerSourceFilter>tag{$:/plugins/linonetwo/intention-tower-knowledge-graph/Config/project-tag}] [subfilter<tiddlerSourceFilter>tag{$:/plugins/linonetwo/intention-tower-knowledge-graph/Config/intention-tag}]" variable="projectNameTo">

改成

<$list filter="[subfilter<tiddlerSourceFilter>] [subfilter<tiddlerSourceFilter>]" variable="projectNameTo">

也就是去除所有的其他不相关的节点。

from intention-tower-knowledge-graph.

linonetwo avatar linonetwo commented on June 3, 2024

这样就有很多孤立的点了,看着就没那么酷炫了,我觉得图谱其实主要也就是看着好玩,复杂一点其实没关系,反而更方便跟人演示酷炫效果吧

from intention-tower-knowledge-graph.

linonetwo avatar linonetwo commented on June 3, 2024

这个可以再观察一段时间再说,看看加入更多细分的意义之后的结果。

我觉得关键还是把不该加的标签就不要加,从数据源上保证边都是有效的

from intention-tower-knowledge-graph.

dongrentianyu avatar dongrentianyu commented on June 3, 2024

嗯,我也奇怪的是,文档里演示的和我实际使用起来效果不一样。我一般就是加上游一个标签,其他标签也没怎么加。

image

太多孤立的节点是我有很多意义层级,在一般的项目里目前还没有很好地体现。不过这些节点其实也可以修改掉。文档示例里的,好像只有两三层的样子。

嗯,先放一段时间吧,等其他人使用看看有没有问题。

from intention-tower-knowledge-graph.

linonetwo avatar linonetwo commented on June 3, 2024

对,这个先不改吧,再看看情况

from intention-tower-knowledge-graph.

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.