Open neoscopio opened 3 years ago
I wouldn’t add support for opening in a different window (since Minder runs as a single windowed app), but rather open the other mindmap in a new tab or jump to the tab if it already exists.
Out of curiosity, how would you want this implemented? I could envision a couple of possibilities:
Some sort of special syntax that describes the mind map file name and node identifier added to the node title or note that, when clicked, displays the node in the mind map within Minder.
Open the mind map containing the node to jump to, select that node and indicate that you want to link to this node. Then go to the mindmap containing the node that will display the link and do something to cause the node link to be created.
Add support for both methods described above.
Other?
Your thoughts?
Well, that's more than I was suggesting, and more interesting too. My original thought was to do something like "add image", but browse for the minder file. An icon would be nice to identify those nodes. Selecting a node within another mind map is more powerful. I would go "no" for special syntax for user friendliness. If the map had some "note" describing it, that could be displayed before opening the map. Anyway, any of the options would ultimately work for me.
I have checked in support for this new functionality in the master branch.
To create a linked node to a node within a different mind map, open the map containing the node to link to, select it and use the new Control-y option. Then open the map containing the node that will contain the link, select it and use the 'y' command. The link will be displayed a bit differently for remote node links than for local node links. Hovering over the node link will display a tooltip displaying the linked nodes title and filename. Clicking on the node link will display the mind map containing the linked node (if the map is not currently loaded, it will be), select the linked node and make sure that it is visible within the canvas.
You can create a link to a node that is within the same mind map in the same way, if you wish. Otherwise, just using the 'y' option on a node will allow you to create a local node link in the same way as it did before.
Hopefully, that all makes sense. Give it a try and let me know if you have any issues.
Just tested it, it works, thanks!
It solves my need, so I can work with it as is.
Still some minor suggestions:
Not user friendly to have to open and select a node prior to linking. I do understand how this was probably easier to implement, but I think the "natural" path wold be press the new "CTRL-Y" and then allow to select the file (or just switch tabs if it open). The link would be on the first node, or if the user selects one and press Y, link it to that node.
If the file gets deleted or renamed, I think there should be a "file not found" if you try to follow the link.
If the linked node gets deleted, some warning should appear, not sure how and what, maybe after opening the new map.
Anyway, it works pretty well as is and I think it can be very useful. I'm thinking in using it to plan coordination on several projects, each one has it's own mindmap, but they are related, not only to the coordination "top down" map, but also between each other.
Some dependencies I needed to build not mentioned on the read me: libhandy-1-dev libjson-glib-dev
Also
$:~/Downloads/Minder-master$ ./app install-deps
./app: line 74: dpkg-checkbuilddeps:: command not found
Also
The icon for the property sidebar seems to be missing (a red "ø" one appears)
Thanks
I had to manually install all the dependencies listed plus; libhandy-1-dev On Debian bullseye, in order for the build to work.
I had to manually install all the dependencies listed plus; libhandy-1-dev On Debian bullseye, in order for the build to work.
I have added this dependency to the README.md file. I have also added the libjson-glib-dev dependency even though I'm not exactly sure why this dependency exists. It appears that it is installed by default in elementary OS (or at least when you install elementary-sdk or some other library that is required).
Not user friendly to have to open and select a node prior to linking. I do understand how this was probably easier to implement, but I think the "natural" path wold be press the new "CTRL-Y" and then allow to select the file (or just switch tabs if it open). The link would be on the first node, or if the user selects one and press Y, link it to that node.
I am going to reimplement the feature in a different way as follows:
If a user wants to link to another node in a mindmap that is already opened in a tab, the user will Control-C to copy the node (instead of using Control-y). This will not only copy the node to the clipboard (as it already does), but it will also copy a node link to the selected node for usage later.
Back in the mindmap to create the node link in, the 'y' command will link to the copied node, if one exists in the clipboard. If a link node does not exist, the 'y' command will draw itself in the original way to link to a node within the current mind map.
To link to a root node in a mindmap document that is not opened within Minder, Control-y will be used. This will bring up an open mindmap dialog, and, if a mindmap is selected, will link to the root node of this mindmap.
Additionally, I will display two submenu items within the contextual menu to allow the user to link to a local node or a clipboard node (y) or link to a remote mindmap (Control-y).
If the file gets deleted or renamed, I think there should be a "file not found" if you try to follow the link.
I am adding a verification function that will check the validity of a node in another mindmap (without actually displaying the mindmap). That verification function will called (at some point) and will update the state of the node link indicator if there is an issue. I'm not sure at what point I will run the verification function, however.
BTW, in looking over my changes to provide the current support to this feature, I noticed an issue with node ID assignments when pasting nodes from the clipboard. If you use this feature, I would recommend that you avoid pasting nodes from the clipboard for now. I'll update this issue when I believe I have things working as intended.
have also added the libjson-glib-dev dependency
I did not have it installed before I made Minder, but just installed it now for good measure!
FYI, the issue that I mentioned above with copying/pasting nodes has now been resolved in the master branch.
Could you please reopen this? There are currently some issues with v1.14:
I cannot find a way to edit the (hyper)linked nodes I don't see any context menus for this, except for select->linked node If I press Ctrl-Y on a unlinked node, a black arrow shows up, but no dialog appears If I press Ctrl-Y on a linked node, the arrow turns black and the link is gone, but still no dialog appears
I'm guessing the dialog is the problem. I did manage to see a context menu to add a link (on a previously linked node) and then the dialog appeared with the current link editable, but I cannot find how I did it anymore.
Thanks
I will take a look at this in the 1.15.3 work that I'm in the process of completing.
Hi, Feature request: Link to another mind map, with option to open in same or another window. Great work. Thanks