Mermaid: Mind maps?

Created on 5 Jan 2017  Â·  43Comments  Â·  Source: mermaid-js/mermaid

Any possibility of adding mind map functionality? Like a flow chart, but bi-directional (generally left-right and right-left).

Development Approved

Most helpful comment

Mindmaps are often shown as a (radial) tree structure, so why not even name it tree instead ? A syntax similar to graph would keep the learning curve low. Layout-wise, it would be interesting to have LR, radial, TD. I also like the idea of collapsing / expanding the tree structure as suggested here above. Links could be configurable with either straight lines or arcs.

All 43 comments

Any feedback on this one? That would be really nice!

Good idea. How should the syntax be, maybe some sort of outline syntax?

My shot at it:

mindmap [central node name]
    [title A title]
    [?parent]-->[name] [position] [bg-color] [text-color]
    -->mindmap-notation:right white black
    mindmap-notation-->has
    has-->position
    has-->bg-color
    has-->text-color
    position-->positions
    positions-->top
    positions-->bottom
    positions-->left
    positions-->right
    positions-->top-left
    positions-->top-right
    positions-->bottom-left
    positions-->bottom-right
    -->implementation:bottom blue
    implementation-->d3 is hard:red white
    -->backlog
    backlog-->TODO:yellow
    backlog-->notation to set a node as collapsed or expanded, provided they can be expanded on-click

Mindmaps are often shown as a (radial) tree structure, so why not even name it tree instead ? A syntax similar to graph would keep the learning curve low. Layout-wise, it would be interesting to have LR, radial, TD. I also like the idea of collapsing / expanding the tree structure as suggested here above. Links could be configurable with either straight lines or arcs.

well if Mermaid would support even basic MindMap .. it would be easy to have a perfect killer app ith the compo Atom + this markdown previewer which already supports Mermaid (but lots more) https://github.com/shd101wyy/markdown-preview-enhanced

even PlantUML doesn't have a mindMap view!

ciaooo

any update on mindmap?

Hi everybody! I added 1 ETH bounty on Gitcoin for this feature

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


__Work has been started__.

These users each claimed they can complete the work by 316 years, 10 months from now.
Please review their action plans below:

  1. nemaniarjun has started work.

    Would go through the code and setup the dev environment!
    Should be able to do this within a week or so. :smile:

Learn more on the Gitcoin Issue Details page.

@harwoodr @xhipster Can I have a sample screenshot to what kind of graph exactly do you expect from this issue? I think I understand, but just as a reference.

Most of the things are already implemented for Graph/Flowchart as seen here.
I will start with a clone of that and add the major differences.

I think the main differences are:

  • [ ] Adding Radial Links (in addition to TD/TB, LR, etc)
  • [ ] Adding Link Folding

@xhipster, I am starting work the above two things, if any more things are required do leave a comment and I will add them to this list :grin:

@nemaniarjun Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] warning (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@nemaniarjun due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

  • [x] warning (3 days)
  • [x] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@gitcoinbot I have started work on this issue, will create a WIP PR soon.

@nemaniarjun Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] warning (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

I am still working on this, its just taking me some time to get used to the code.

Thanks for the update @nemaniarjun, please do keep us in the loop on how this is going!

@nemaniarjun Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] warning (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

I still want to work on this, but I have exams this week, So I will not be working for the next 3-4 days. Feel free to assign this to someone else.

@nemaniarjun Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] warning (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@nemaniarjun due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

  • [x] warning (3 days)
  • [x] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

Hey @nemaniarjun, are you still interested in this? 😄

Actually I am not. Too much other work has pilled up. I will stop working on this on gitcoin, so someone else can claim it. :)

@daniilborovkov Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@daniilborovkov Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@daniilborovkov Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

Hey @daniilborovkov, how's everything going with this? Anything we can help with?

@daniilborovkov Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@daniilborovkov Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] reminder (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

I am still working on this iisue

@daniilborovkov, bot snoozed for 3 days!

@daniilborovkov any news on this topic?

@daniilborovkov any updates here ? ryan from Gitcoin checking in.

Would love to use this feature!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

I think we can safely say that @daniilborovkov disappeared? do you want us to kick him off the bounty and let someone else have a try?

Issue Status: 1. Open 2. Cancelled


__The funding of 1.0 ETH (226.11 USD @ $226.11/ETH) attached to this issue has been cancelled by the bounty submitter__

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you are still interested in it, and it is still relevant, you can comment or remove the label to revive it.

This issue has been been automatically closed due to a lack of activity. This is done to maintain a clean list of issues that the community is interested in developing.

I think mindmaps is a great idea. The difficult part is positioning the nodes.

My shot at the synax would be similar to the one abobe but different... :)

Here is the one proposed earlier:

mindmap [central node name]
    [title A title]
    [?parent]-->[name] [position] [bg-color] [text-color]
    -->mindmap-notation:right white black
    mindmap-notation-->has
    has-->position
  ...

Here is my update:

mindmap title A title
  Central title [blue, red] {
    mindmap-notation [black, white, collapsed] {
      has {
        position {
          positions {
            top
            bottom
            left
            right
            top-left
            top-right
            bottom-left
            bottom-roight
          }
        }
        bg-color [yellow, blue]
        text-color
      }
    }
    implementation {
      d3 is hard
    }
    backlog [red, collapsed]{
      TODO
      notation to set a node as collapsed or expanded, provided they can be expanded on-click
    }
  }

here is the syntax for Mindmaps in Plantum (very easy!): https://plantuml.com/mindmap-diagram

@startmindmap
* Debian
** Ubuntu
*** Linux Mint
*** Kubuntu
*** Lubuntu
*** KDE Neon
** LMDE
** SolydXK
** SteamOS
** Raspbian with a very long name
*** <s>Raspmbc</s> => OSMC
*** <s>Raspyfi</s> => Volumio
@endmindmap

and in Markmap JS (really wonderful render and easy): https://markmap.js.org

See issue #1339 for additional syntax thoughts

Already have VS Code extension for this: https://github.com/gera2ld/markmap-vscode

hi.. could we sponsor this feature?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pirDOL picture pirDOL  Â·  3Comments

PaoloneM picture PaoloneM  Â·  4Comments

gvlx picture gvlx  Â·  5Comments

erelling picture erelling  Â·  3Comments

yk-liu picture yk-liu  Â·  4Comments