Home > chaotic-unicorns

chaotic-unicorns

Chaotic-unicorns is a project mainly written in JAVASCRIPT and OBJECTIVE-C, it's free.

cooperative mind mapping :)

node² by ChAoTiC UnIcOrNs

TODO

  • Homepage (+ bubble creation)
  • ...
  • user documentation (start page creation with init_start.js)
  • "catch attention" with blinking nodes

Naming Conventions

bubble: a set of mindmaps; identified by an id

Protocol

Conventions

node-id

tree-path ([1,0,4])

method-invocation

{$method_name: {$arg1: a, $arg2: b, ...}}

Methods

# user management
register(bubble_id, name, color)
change_name(name)
change_color(color)

# changing tree structure
add_node(content, to)
move_node(id, to)
delete_node(id)

# changing properties
change_position(id, $DODO_FRAGEN)
edit_content(id, content)

# bubble management
create_bubble(bubble_name, user_name, user_color)

# destructive stuff
# no idea how to implement this ...
destroy()

Signals

Personal Messages

# error message
err(msg)

# after registering
node_data(bubble)

# bubble creation
bubble_created(id)

Broadcasts

# user management
registered(name, color)
left(name)
name_changed(old, new)
color_changed(name, color)

# changing tree structure
node_added(content, to, user_id)
node_moved(id, to)
node_deleted(id)

# changing properties
position_changed(id, $DODO_FRAGEN)
content_edited(id, content)

# involuntary quit
destroyed()

Data Structure

node

{
    user: creator_id
    content: '',
    subs: [$node, ...],
}

bubble

node with

{
    hashes: ['ro_hash', 'rw_hash', 'admin_hash'],
    content: 'bubble name',
    subs: [$mindmap_node, ...],
    users: {id: {name: '', color: ''}, ...},
}

mindmap

node with

{
    content: 'mindmap name',
    subs: [$node, ...],
}

todo

spawn-position (add)

node body verschwindet bug

client delete

read-only mm z-index top destroy

startseite

error-style end-design

maybe

drehding vom start logout (left)

Previous:nodebodies