Skip to content

miromarchi/rbv_relation

Repository files navigation

rbv_relation

Retebuonvivere: relation

Description

This is a drupal feature. It uses mainly relation module and rules module (plus rules_conditional) to automatically generate simmetrical relations (cooperations between organizations of the civil society).

Organization members (users) create collaborations from their organization to projects. On the basis of these collaborations, relations are autogenerated. In network theory (in Social Network Analysis for instance) the procedure of generating a network of collaborators on the basis of copartecipation on projects (or events in other cases) is called projection or transformation of a bipartite (or 2mode) network onto a monopartite (or 1-mode) network. Network analysis software do this by means of matrix multiplication, but in drupal we managed to implement this funcionality in a different way.

We update 1-mode relations every time a 2-mode relation (collaborations to projects) are updated. We do it by means of rules module and relation module.

  • E.g. Organization1 creates a collaboration to project2 of Organization2:
Org1 → Project2
  • The rule is fired: get all collaborators at project2 (let's say they are Organization2, Organization1 and Organization3).
Org1 \
Org2 -|→ Project2
Org3 /
  • Now creates (if not present) a 1-mode relation between Organization1 and Organization2, Organizatio3 and Organization2, Organization1 and Organization3.
Org1 ←→ Org2
Org2 ←→ Org3
Org1 ←→ Org3

Submodule of

This repository is a submodule of retebuonvivere.

Wiki

Go to the relation wiki for more stuff about how we want to implement relations in this project.

About

Retebuonvivere: everything about relations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages