jsmind
jsmind copied to clipboard
Can I add relations (associative connections)?
Hello! Can I add relations (associative connnections)? Like this
If it is possible, how can I specify them in mind object like this:
[ { id: 'root', isroot: true, topic: 'MainTopic' }, { id: 'subtopic1', parentid: 'root', topic: 'Subtopic1' }, { id: 'sub1', parentid: 'subtopic1', topic: 'Sub1' }, { id: 'sub11', parentid: 'sub1', topic: 'Sub11' }, { id: 'sub12', parentid: 'sub1', topic: 'Sub12' }, { id: 'sub121', parentid: 'sub12', topic: 'Sub121' }, { id: 'sub13', parentid: 'sub1', topic: 'Sub13' }, { id: 'sub2', parentid: 'subtopic1', topic: 'Sub2' }, { id: 'sub21', parentid: 'sub2', topic: 'Sub21' }, { id: 'sub22', parentid: 'sub2', topic: 'Sub22' }, { id: 'subtopic2', parentid: 'root', topic: 'Subtopic2' }, { id: 'sub3', parentid: 'subtopic2', topic: 'Sub3' }, ];
I’m afraid it’s not supported.🤷♂️
在 2022年8月27日,15:46,lofti198 @.***> 写道:
Hello! Can I add relations (associative connnections)? Like this
If it is possible, how can I specify them in mind object like this:
[ { id: 'root', isroot: true, topic: 'MainTopic' }, { id: 'subtopic1', parentid: 'root', topic: 'Subtopic1' }, { id: 'sub1', parentid: 'subtopic1', topic: 'Sub1' }, { id: 'sub11', parentid: 'sub1', topic: 'Sub11' }, { id: 'sub12', parentid: 'sub1', topic: 'Sub12' }, { id: 'sub121', parentid: 'sub12', topic: 'Sub121' }, { id: 'sub13', parentid: 'sub1', topic: 'Sub13' }, { id: 'sub2', parentid: 'subtopic1', topic: 'Sub2' }, { id: 'sub21', parentid: 'sub2', topic: 'Sub21' }, { id: 'sub22', parentid: 'sub2', topic: 'Sub22' }, { id: 'subtopic2', parentid: 'root', topic: 'Subtopic2' }, { id: 'sub3', parentid: 'subtopic2', topic: 'Sub3' }, ];
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
Ok thank you! If you suggest the direction how to implement it I would appreciate!
I prefer add a new field (relationship) in the Mind
object, and build plugin for different type of relationship.
Considering that there are different types, the relationship need to be implemented in the plugin.
For you case, I think you may need to get the point(In/Out) of the node, it is in the node object, you can get it in chrome console panel.
{
"meta":{...},
"format":"node_array",
"data":[],
"relationship": [
{
"relationType": "Type_Enum",
... varags depends on type
},
{
"relationType": "Type_Enum",
... varags depends on type
}
]
}
Thank you for your fast help and cool library!
One more thing - do you take orders for paid adding features like this? And how much would that cost?
Sorry, I have not a plan about the paid features yet. Because I can’t promise a clear timeline for them.
I will consider the feature more, and the paid support plan. But I guess it will take a long time.