0.0.40 • Published 7 months ago

mindstr v0.0.40

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

image

Mindstr

mindstr

Status

only intended for intrepid programmers who read the sourcecode

Mindstr Data Model Documentation

Mindstr is a web-based mind mapping tool that uses a specific data structure for representing nodes and connections. This document outlines the structure and the expected data types for each field.

Data Structure

1. Version

  • Field: version
  • Type: string
  • Description: Represents the version of the Mindstr data format.

2. Nodes

  • Field: nodes
  • Type: array
  • Description: An array of individual node objects.

Each node object contains:

  • name: string - The display name of the node.
  • x: number - The x-coordinate position of the node on the canvas.
  • y: number - The y-coordinate position of the node on the canvas.
  • bgColor (optional): string - The background color of the node. If not provided, a default color is used.

3. Connections

  • Field: connections
  • Type: array
  • Description: An array of connection objects that link nodes together.

Each connection object contains:

  • start: number - The index of the starting node in the nodes array.
  • end: number - The index of the ending node in the nodes array.

4. Selected Node

  • Field: selectedNode
  • Type: number or null
  • Description: The index of the currently selected node in the nodes array. If no node is selected, the value is null.

Example JSON Representation

{
  "version": "0.1",
  "nodes": [
    {
      "name": "Root Node",
      "x": 500,
      "y": 50,
      "bgColor": "#FFD6E8"
    },
    {
      "name": "Child Node",
      "x": 550,
      "y": 100
    }
  ],
  "connections": [
    {
      "start": 0,
      "end": 1
    }
  ],
  "selectedNode": 1
}

This markdown provides a concise overview of the data structure used in Mindstr. For specific implementation details or further clarifications, refer to the application's source code.

0.0.40

7 months ago

0.0.39

7 months ago

0.0.38

7 months ago

0.0.37

8 months ago

0.0.36

8 months ago

0.0.35

8 months ago

0.0.34

8 months ago

0.0.33

8 months ago

0.0.32

8 months ago

0.0.31

8 months ago

0.0.30

8 months ago

0.0.29

8 months ago

0.0.28

8 months ago

0.0.27

8 months ago

0.0.26

8 months ago

0.0.25

8 months ago

0.0.24

8 months ago

0.0.23

8 months ago

0.0.22

8 months ago

0.0.21

8 months ago

0.0.20

8 months ago

0.0.19

8 months ago

0.0.18

8 months ago

0.0.17

8 months ago

0.0.16

8 months ago

0.0.15

8 months ago

0.0.14

8 months ago

0.0.13

8 months ago

0.0.12

8 months ago

0.0.11

8 months ago

0.0.10

8 months ago

0.0.9

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago