Hi everyone:
I have a TiddlyMap that i want to export to a new Wiki. I’ve imported the following tiddlers and all the nodes from the original TiddlyMap: `$:/plugins/felixhayashi/tiddlymap/graph/views/CaldesMontbui_PilotCase_validation/filter/edges $:/plugins/felixhayashi/tiddlymap/graph/views/CaldesMontbui_PilotCase_validation $:/plugins/felixhayashi/tiddlymap/graph/views/CaldesMontbui_PilotCase_validation/map $:/plugins/felixhayashi/tiddlymap/graph/views/CaldesMontbui_PilotCase_validation/filter/nodes`
But I missing the edges, I don’t know how to find all the edges to import them. Therefore I can see the nodes with their names, icons and colors but not able to see the relations (edges)
If you are new user of tiddlymap, i guess you should wait till the release of a new graph plug in by Flibbles before customising the graph in detail. TW5-Graph
Oh, that’s great news!
It looks like working with that plugin will be much nicer. The thing is, I already have a TiddlyMap that I need to use, and I don’t have much time to wait for something new.
It would be great if I could import it into the existing TiddlyMap plugin for now.
But I’ll definitely keep it in mind for future projects.
Your list of exported tiddlers looks good to me. It does not appear to match your import list however.
I haven’t done this in awhile. I have genealogy solution that uses TiddlyMap for trees.
I wrote a tiddler to capture those four tiddlymap tiddlers you listed. To test I then imported into an empty solution. Once I imported my nodes i had a tree/map with edges.
You can review this export/backup of maps here:
Aside: make sure those four map tiddlers you listed did get imported.
Thanks @clsturgeon for your answer! Yes I did import all this four tiddlers, but the import list was too long to catch all in one screenshot.
I check in the advanced search and the four are imported in the new wiki
Is the version of TW and TiddlyMap the same in both the source and target solutions? Also, there a few supporting plugins that TiddlyMap uses, make sure they are at the same level.
Can you see your edges in the Edge management menu? If not you may need to recreate them.
If you’ve lost your previous TidddlyMap instance, your tiddlers will still contain them. Doublecheck by clicking on the TiddlyMap properties of your tiddler. Edge types associated with that tiddler are listed in the middle column at the bottom of the menu.
No, I can’t see the edges in the management menu of the new Wiki. However, I can access them from the old Wiki, so it should be possible to recreate them all.
The issue is that I have a lot of edges, and recreating them one by one is very risky. So I’d like to know if there’s an automatic way to export all edges from the old Wiki and import them into the new one.
Also, I find it strange that when I look at the filter section for edge tiddlers, I only see this expression: -[prefix[_]] -[[tw-body:link]] -[[tw-list:tags]] -[[tw-list:list]]
Regardless of what you have for the edges, it won’t work untill you have the tmap IDs in the node filter. Ofcourse if you get rid of them, then the nodes will disappear too. I believe the issue is that the edge-types don’t exist. I am not trying to make you do the whole work edge my edge. Before trying anything else look at the edge-type manager.
Your edge types should be listed on the left. If not, ensure to re-create them using exactly the same names. It’s a bit of a reach, but it should give you the edges once the types are restored.
To test this:
Clone your view.
Scroll down where you see your nodes. You should see the edge-type filters. You must ensure they are calling out the edge types you’re looking for or else they won’t appear.
If this fails, you may have to import the old tiddlers again. Keep us posted.
In regards to the risks with this method: Anything you try will be better applied to a test copy or with a backup saved somewhere. I hope this makes sense.
If I had to do the same I would install Tiddlymap fresh and I would import the content tiddlers. Then I would define the edge-types and recreate the views by copy/pasting the filters. Recreating the edge-types would apply as well. I’ve done this before and it is the safest method I know because it doesn’t have anything to do with messing system tiddlers around.