GithubHelp home page GithubHelp logo

markmindckm / obsidian-enhancing-mindmap Goto Github PK

View Code? Open in Web Editor NEW
555.0 555.0 52.0 1.97 MB

obsidian plugin editable mindmap,you can edit mindmap on markdown file

License: MIT License

TypeScript 13.43% JavaScript 86.39% CSS 0.18%

obsidian-enhancing-mindmap's People

Contributors

anta-semenov avatar darker21 avatar djscheuf avatar eldertek avatar khad1r avatar markmindckm avatar phibr0 avatar quorafind avatar raggbal avatar s-e-b-g avatar zhao414 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

obsidian-enhancing-mindmap's Issues

Cannot toggle to mindmap view

I'm very excited about this plug-in! But strangely, after installation, I can use it to create a new mindmap but I don't see the command to view an existing markdown file as a mindmap, either in the command palette or in the File Options. It must be installed, since I see it in the plug-ins and can create and view a new file as a mindmap. Any help appreciated. I have disabled all other non-core plug-ins. Obsidian 0.12.12 and enhancing-mindmap 0.1.1, Win 10.

Viewing a markdown file:
image

Command palette:
image

But when viewing a new mindmap, it does show view as markdown:
image

Allow user to assign hotkeys to view mindmap as markdown or view as mindmap

Hi!
Thank you for a great plugin!

It would be great to be able to assign hotkeys to view mindmap as markdown or view as mindmap (e.g. switch between markdown and mindmap).

Maybe I am missing something, but it looks like currently only "Create new mindmap" can be assigned to a hotkey?

Just in case, below are some details of my environment:

  • macOS Big Sur 11.4
  • Google Chrome Version 92.0.4515.107 (Official Build) (arm64)
  • ObsidianMD v0.12.10
  • Enhancing mindmap plugin v.0.1.1

aerofiler-qa - Obsidian v0 12 10 2021-07-27 18-42

Thanks.

[Bug]: Part of my map was deleted

A significant portion of my mindmap was also deleted.
The branch that got deleted was the whole branch with old nodes (few weeks), and nodes that i am working on)
(I was able to recover everything with obsidian file recovery)

zoom in android

hi
thx for good plugin!!

I cannot understand how use zooming mindmap in mobile?
pls help

Do you have any plans for mobile support?

Currently working on mobile are buttons for writing text, adding nodes, and deleting them. But panning the view, zooming in and out doesn't work at all. (I also tried connecting the mouse through the OTG cable.)

Change the order of nodes at will

It would be a very good design if the nodes could be dragged at will to change their positions.
Now it seems that you can only drag the node to the center and then it will change to the last position, it would be great if you can drag the nodes at will to change their position!
The problem with markdown format is that you can't drag the headings at will. It would be a great experience if you could use this form of mind map to think about the structure of the article on the one hand, and drag the nodes to change their position on the other.

Add mouse navigation

Currently, there are only keyboard navigation for this plugin. It would be very nice if we could click (or right click) a node and create new child nodes.

angle brackets can not be correctly saved in node content

When new node has content like "<some text here> other text", it will save to node correctly in the first time.
but when you try to modify it. the content in angle brackets are disappared together with the angle brackets, leaving only "other text"

This is very annoying when you making some mind map about some tech documentation.

failed to load your plugin

Hi
I failed to load your plugin after manual installation on my Mac. Always get this message from obsidian when i try to activate it. Any help? version 0.12.5

Export the mindmap

Hello,
Great job on this plugin.
Is it possible to export the mind map?
If not, is this a possible feature?

adding new line in mindmap deleted all data please fix

I added a new line for a node in my minmap and then when i came back the data i typed is completely gone . and then when in investigated is i found that

I added new line in one of my node by pressing enter key and that breaked everything .

so i understood that line break is that making the problem
can you please fix this .

I lost my work and had to recover it using file recovery plugin .

Obsidian mindmap in Obsidian Plugins still on 0.0.5 version

The version available through Obsidian community plugins is still 0.0.5 instead of newer one (0.1.0 for example)
Also, the plugin in the community plugin doesn't display the number of downloads (but maybe it is because it was just recently included).

Support text completion

It would be great if the mindmap supported the same text operations as the editor. There are two particular points I have in mind:

  • typing [[T normally gives me a list of all the possible pages to link to beginning with T, which doesn't work in the mindmap
  • using a hotkey to insert a citation nearly works - it pops up the window, but then doesn't insert the text

Quick demo of both issues:
MindmapEnhancement

Spelling mistake on the command palette

When you open the command palette of Obsidian (ctrl + p), the command for copying is spelled "Enhancing Mindmap: Cpoy" instead of "Enhancing Mindmap: Copy" as you can see here.

Version: 0.2.0

draw.io

is there a possibility to use diagramms (draw.io) to do the same thing?

切换成mindmap模式,点击了节点后,代码片段中的数据都丢失了

我的文档中,有部分代码片段,类似于
- val (means value): $仅允许赋值一次$
```kotlin
// ====
val answer = 42
// ====
val answer:Int = 42

    // ====
    val message:String
    if(canPerformOperation()){
        message = "success"
    } else {
        message = "failed"
    }
    message = "other" //compile error
    ```

切换成mind视图后,节点展开-关闭操作后,上述代码中 代码片段中内容丢失了。希望能排查一下是否有这个问题
非常感谢,非常依赖这个功能!

Add the ability to copy + paste a branch in mindmap mode

Currently, user need to switch to markdown mode to copy/paste the bullet points, then turn back to mindmap mode.

2ndly,I think this functionality could also be implement to copy paste between map, instead of just within a map.

Allow additional color choices for bold and italics

I think this will also help the user to scan their map faster. The user can use their peripheral vision to focus on the color part.
image

The current version of the bold is a bit hard for the user to recognize the important point.
image

Text not visible in dark-mode of some themes

The text of the central header in mind-map view is not visible in dark mode of some themes because the white background of the enclosing rectangular box is blending in with the white colored text in dark mode.

I have fixed this issue temporarily by setting the color to something darker in the styles.css :

.mm-node.mm-root .mm-node-content {
  font-size: 1.6em;
  padding: 14px 20px;
  border-radius: 0.25rem;
  background: #2E4057;        /*Changed this to darker color (initially set to white)*/
}

Now it becomes :

after change

Please incorporate this change into the main release of the plugin if it does not interfere with any other aspects or elements of the plugin.

Or alternatively if this method causes problems in other themes where the text appears black then if there could be a way to ensure the text is rendered black regardless of the theme settings, that could work too. However I couldn't figure out how to implement that because I am not very familiar with css.

how to exclude codeblock in the mindmap ?

In my markdown file, the codeblock is also recognized as a branch in the mindmap, is there a toggle to select which type of items can be included in the final mindmap? e.g. I only want to include title, ordered list or bullet list as branch.

Thank you!

Allow grab and drag to navigate the map

Currently, it is required to use arrow keys to navigate across the map, if there was a way to pan using the mouse grab and pan, it would be so much better.
I don't know if it is possible at the moment, but just putting it here as a request
Good work on this one, thanks!!

VSCode port?

Is it possible to port this extension to VSCode?

Obsidian and VSCode are both electron apps but maybe it's a lot more work than one thinks at first sight?

Allow user to preserve markdown structure or use lists instead of headings

Thank you for great plugin!

My feature request is to allow user to preserve markdown format after file was edited as a mindmap.

Here is an example to illustrate:

  1. Create markdown file
- mindmap-plugin
  - item 1
  - item 2
  - item 3
  1. Open the file as mindmap.
  2. Add at least one node - a child of item 3
  3. Open as markdown

Result:

# mindmap-plugin
  ## item 1
  ## item 2
  ## item 3
    - item 31

Desired result:

- mindmap-plugin
  - item 1
  - item 2
  - item 3
    - item 31

mindmap-screencast.2021-07-27.18-55.mp4

Just in case, below are some details of my environment:

  • macOS Big Sur 11.4
  • Google Chrome Version 92.0.4515.107 (Official Build) (arm64)
  • ObsidianMD v0.12.10
  • Enhancing mindmap plugin v.0.1.1

Auto updating replaces last node text with default node text

This plugin updates/saves its view very often and this causes the last added child node to lose its text very often.
The text gets replaced by the default child node text.

The steps to reproduce this bug are simple, just work normally for 20 minutes on a Mindmap and you'll encounter this bug constantly on the way.

It doesn't matter if I confirm a new child note with tab or if I click outside the child node. The bug happens no matter how I confirm.

Also, when this bug happens, the heading gets centered as well if my Mindmap is oriented towards the left

Cant Add image to mindmap directly but can add when

Cant add image directly to mindmap

but can add image when viewing the mindmap as markdown .

Pleas add the ability to add images to mindmap .

Thank you

This is how mindmap is showing when adding image directly

Dimmer_DMBkbNPH4r

Cannot collapse and expand node with shortcut

The Ctrl + / shortcut for collapsing and expanding nodes is not working for me. I am running Linux Mint 19.3 Cinnamon and am using a German keyboard layout (QWERTZ).

While I would believe that the issue here is the keyboard layout, using a virtual keyboard or changing the layout to international in the settings did not help. It would be great if you would allow to customize the shortcut in the settings so that I can remap it.

Thanks for the awesome plugin!

Missing commands

I would like to assign a shortcut to :

  1. open as markdown
  2. open as Mindmap board

Finally, these 2 commands could be merged into one loop switch, by pressing the same shortcut multiple times.

Cannot Build

I'm trying to build the plugin using:

npm i
npm run build

I'm getting this error:

src/main.ts → ....
(!) Plugin typescript: @rollup/plugin-typescript TS5055: Cannot write file 'obsidian-enhancing-mindmap/src/domtoimage.js' because it would overwrite input file.
(!) Plugin typescript: @rollup/plugin-typescript: Rollup 'sourcemap' option must be set to generate source maps.
(!) Circular dependencies

Are there any instructions on how to build?

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.