Title: The Connectome
Author: armandorivero
Published: <strong>11 de juliol de 2019</strong>
Last modified: 11 de juliol de 2019

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://ps.w.org/the-connectome/assets/icon.svg?rev=2121610)

# The Connectome

 Per [armandorivero](https://profiles.wordpress.org/armandorivero/)

[Baixa](https://downloads.wordpress.org/plugin/the-connectome.1.0.0.zip)

 * [Detalls](https://ca.wordpress.org/plugins/the-connectome/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/the-connectome/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/the-connectome/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/the-connectome/#developers)

 [Suport](https://wordpress.org/support/plugin/the-connectome/)

## Descripció

A WP site has posts, custom posts, users and taxonomy terms. The Connectome shows
them all in a single interactive visualization as nodes and links of a graph. Also,
we calculate some importance measure for these nodes and display it in the nodes
sizes. The Connectome, then, should provide insight about the structure of your 
site and a different navigation, mostly interesting for the site admin but perhaps
also, after some configurations, good to show to your visitors.

I think The Connectome could be useful to novice WP site creators because it will
help you learn all the essential elements in your site and how they connect to each
other.

The “importance measure” for the nodes is the `degree centrality`, that is, how 
many links touch the node.

This is the first release of my first plugin so I’m very exited and scared, but 
also quite open to suggestions, requests or criticism. I would be especially happy
if more experienced developers inspected my code and gave me their opinions.

### Live demo

It’s for a small site, but anyways

[WP Connectome Demo](https://dantecubantours.com/graph/)

### Road map

I have a long list of improvements to include in future releases, among them:

 * Responsiveness and more flexible behavior for the visualization
 * Search functionality to find nodes in the graph
 * Having several graphs with different configurations to show in different parts
   of your site
 * Tell the admin about problematic nodes like posts without featured image or excerpt
   text, taxonomy terms without description, etc.
 * More interesting importance measures like the eigenvalue or the betweeness centralities,
   perhaps allowing the user to pick which one to use
 * Multilingual support, right now it’s only English. Besides making it translation
   ready, this will also imply to make the plugin compatible with multilingual plugins
   like Polylang or WPML

If you think one of them is more urgent thant others, you can also tell me.

### Performance

The good news is that, once the graph is created, it’s stored on the DB and and 
used until you save the options again in the options page. However, to build the
graph we first include all the elements (but those manually disabled) and then connect
them to calculate the centrality and evaluate which are the most important. Only
then we reduce the elements, using the centrality as the metrics. That means a very
big site (with many users, posts and terms) will require a lot of resources and 
time to create the graph, even if it ends up having few elements. Only when the 
elements are manually disabled they don’t participate on the graph creation. Probably
if you have a very big site you would have a server with ample resources, but if
you don’t, then probably is not a good idea to use The Connectome until the implementation
changes.

## Captures

 * [[
 * Unselected graph display
 * [[
 * Node selected without data visualization
 * [[
 * Node data visualization
 * [[
 * Options (the panel to select individual elements is foldable)

## Instal·lació

 1. Upload `connectome.zip` to the `/wp-content/plugins/` directory and extract it
 2. Activate `The Connectome` through the ‘Plugins’ menu in WordPress
 3. Go to the plugin page (under settings in the admin) to build the graph
 4. Add the shortcode `[connectome-graph]` in your pages or posts to see the widget
 5. You can also insert `<?php echo apply_filters('the_content', '[connectome-graph]');?
    >` in your PHP code

## PMF

  Can I decide which elements go in the graph?

Yes, you can decide in the settings page exactly which elements will be included.
Next to each type of element there is a button to show a foldable panel where you
can select each element individually. Right now is a bit cumbersome if you have 
many elements of some type. I’ll try to make this panel more functional in future
releases.

  What if I want to show only certain amount for each type of element?

You can set a max amount of elements for each type. The first “most important” elements
will be kept while the others discarded. The metrics by now is the degree centrality.
More central nodes are considered more important.

## Ressenyes

![](https://secure.gravatar.com/avatar/df2b67c30883d711dff44298edd4dbe6744a858a6c3f6a9cbe1fcf6c7ec52e30?
s=60&d=retro&r=g)

### 󠀁[Great start!](https://wordpress.org/support/topic/great-start-60/)󠁿

 [p3hndrx](https://profiles.wordpress.org/p3hndrx/) 19 de maig de 2023

This plugin is borderline amazing but needs some work. My site contains around 1000
posts with 5 custom taxonomy terms (along with categories and tags) and the site
took a significant performance hit with the plugin enabled. Aside from this, the
visualization is amazing. I wish it would display the Featured Image instead of 
the colored shape which would make it a more effective front-end tool for users.
Additionally, it would be nice to be able to customize a shortcode for different
visuals depending on specific taxonomies. Currently, you must select/deselect individual
taxonomy terms in the global settings. The plugin allows you to visualize Users,
Posts, and Taxonomies. I would like to see visualizations of relationships between
taxonomies. I think this would be a very compelling use-case. This plugin is an 
amazing effort and can inspire potential for WP to be a metadata platform in addition
to a CMS.

 [ Llegiu tota la 1 ressenya ](https://wordpress.org/support/plugin/the-connectome/reviews/)

## Col·laboradors i desenvolupadors

«The Connectome» és programari de codi obert. La següent gent ha col·laborat en 
aquesta extensió.

Col·laboradors

 *   [ armandorivero ](https://profiles.wordpress.org/armandorivero/)

[Traduïu «The Connectome» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/the-connectome)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/the-connectome/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/the-connectome/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/the-connectome/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/the-connectome/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.0.0

 * First version

## Meta

 *  Versió **1.0.0**
 *  Darrera actualització **fa 7 anys**
 *  Instal·lacions actives **Menys de 10**
 *  Versió del WordPress ** 4.0.1 o posterior **
 *  Provada fins a **5.2.24**
 *  Versió del PHP ** 5.6 o posterior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/the-connectome/)
 * Etiquetes
 * [data visualization](https://ca.wordpress.org/plugins/tags/data-visualization/)
   [graphs](https://ca.wordpress.org/plugins/tags/graphs/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/the-connectome/advanced/)

## Valoracions

 4 sobre 5 estrelles.

 *  [  0 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/the-connectome/reviews/?filter=5)
 *  [  1 valoració de 4 estrelles     ](https://wordpress.org/support/plugin/the-connectome/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/the-connectome/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/the-connectome/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/the-connectome/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/the-connectome/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/the-connectome/reviews/)

## Col·laboradors

 *   [ armandorivero ](https://profiles.wordpress.org/armandorivero/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/the-connectome/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](http://none)