[WordPress] 外掛分享: The Connectome

首頁外掛目錄 › The Connectome
全新外掛
安裝啟用
★★★★
4/5 分(1 則評價)
2440 天前
最後更新
問題解決
WordPress 4.0.1+ PHP 5.6+ v1.0.0 上架:2019-07-10

內容簡介

WordPress 網站有文章、自訂文章、使用者和分類。Connectome 以圖形的節點和鏈結呈現出所有這些元素的互動可視化。我們計算這些節點的一些重要性措施並將其顯示在節點大小中。因此,Connectome 可以提供有關您的網站結構的視角和不同的導航方式,這對站點管理員非常有趣,但也可以在進行一些配置後,展示給您的訪問者。

我認為 Connectome 對於新手 WordPress 網站建立者來說很有用,因為它可以幫助您學習網站中所有的基本元素以及它們如何相互連接。

節點的“重要性措施”是“度中心性(degree centrality)”,即與節點相連的鏈結數。

這是我的第一個插件的第一個版本,我感到非常興奮和緊張,但同時也非常開放接受建議、要求或批評。如果有更有經驗的開發人員檢查我的程式碼並給我意見,我會非常高興。

現場演示

雖然只是一個小網站,但還是有用的

WP Connectome Demo

路線圖

未來的版本中,我有一個很長的改進清單,其中包括:

視覺化的響應設計和更靈活的行為
在圖形中查找節點的搜索功能
具有不同配置的幾個圖形,以在站點的不同部分展示
通知管理員有問題的節點,例如沒有特色圖像或節錄文字的文章,沒有說明的分類等。
更有趣的重要性測量,例如特徵值或介握中心性,也許允許用戶選擇要使用哪個重要性測量
支援多語言,現在只有英文。除了使其能夠支持翻譯,還需要使插件與多語言插件(如Polylang 或 WPML)兼容

如果您認為其中一個比其他更加緊急,也可以告訴我。

性能

好消息是,一旦建立了圖形,它就存儲在數據庫中並且在選項頁面中再次保存選項之前一直使用。但是,為了構建圖形,我們首先包含所有元素(除了手動禁用的元素),然後將它們連接起來以計算中心性並評估哪些是最重要的。然後只有在使用中心性作為度量標準時,我們才減少元素。這意味著一個非常大的站點(擁有許多用戶、文章和術語)將需要大量的資源和時間來構建圖形,即使它最終只有少量的元素。只有手動禁用的元素才不參與圖形的創建。也許如果您有一個帶有豐富資源的服務器的大型網站,那麼可能使用 Connectome 並不是一個壞主意,但如果您沒有,那麼直到實現發生改變之前,可能並不是一個好主意。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「The Connectome」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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
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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon