Giter VIP home page Giter VIP logo

moodle-concept-map's Introduction

moodle-concept-map

Intro

atmin/moodle-concept-map is a Moodle Database Activity field type representing a Concept map. Vertices and edges can have labels. If a vertex label is omitted, it becomes invisible while still connecting edges, thus arbitrary shapes consisting of straight lines can be drawn.

Online demo of the component

Moodle instalation

cd /path/to/moodle
cd mod/data/field
git clone https://github.com/atmin/moodle-concept-map.git conceptmap

User Guide

Use it like any other database field type. There aren't any specific configuration options. When adding/editing a database entry, concept map is editable. Click to select a vertex or edge, context actions will be revealed. Drag blue (+) circle to create a new vertex. Drag vertices to reorder them.

Development

Development environment based on https://github.com/tmuras/moosh

(Ubuntu 16.04, Apache, PHP7, MySQL, Moodle 3.1)

Requirements:

Start virtual machine:

vagrant up

Moodle will be available at http://192.168.33.10/moodle

Authentication Details:

  • username: admin
  • password: a

Install JavaScript dependencies:

npm install

Start development server, will watch src/ and recompile assets:

npm start

Check package.json scripts.

Contributing

Pull requests are welcome. Please, open an issue first to discuss.

moodle-concept-map's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

ralferlebach

moodle-concept-map's Issues

How to install & different browser compatibility

Hi, I'm very interesting in using your plugin for my lessons activities.
But I'm not able to install it, can you give me some hints?
Another problem is the different behavior with Chrome (it seem works) and Firefox (I'm not able to do new vertex and to edit them).
Thank you for any suggestion,
Luca Navone

Error on moodle 3.7.1

In moodle 3.7.1, when using this datafield in a database and try to enter a dataset, it fires:

Too few arguments to function data_field_conceptmap::display_conceptmap(), 1 passed in [dirroot]\mod\data\field\conceptmap\field.class.php on line 43 and exactly 2 expected

Will look for that later.

Problems with Firefox and Edge

At the moment the component doesn't seem to work properly with Firefox and Edge.

It is not possible to correctly drag items around.
With new items their seems to be an offset.

It works nicely with Chrome or Opera.

In Moodle 3.1 sometimes the activity is not properly saved. I'll do some more testing to try to find out why.

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.