OmarShafie / hadith

a search engine which provides Visual analysis of Hadith Isnad tree
https://dev.omarshafie.com/hadith/
GNU General Public License v3.0
29 stars 2 forks source link

Coloring by Matn & Sanad #4

Closed OmarShafie closed 3 years ago

OmarShafie commented 4 years ago

I would like a way to be able to extract the info related to the path of the hadith without the need to manually track it.

I suggest to group similar hadiths using coloring mechanisms, 2 in particular: to color by sanad or by matn or by both or by none (which is the current)

For example the color by matn groups the same hadiths in one color, thus visually alone, I can understand how many exactly are hadiths displayed in the generated tree. Color by sanad however, shows how the same hadith has traversed the nodes, as output links are not associated with input links in any way.

In specific, this is very useful for the following hadiths: خيركم من تعلم القرآن وعلمه

To color by both just is further analysis.

OmarShafie commented 3 years ago

the links can be colored in 4 ways with 2 options to color by matn or by isnad: by none (show connectivity) by isnad (show the end of the hadith, the differences of the X issue + divide each full sequence as a unique color) by matn (show the same matns as a single takhreeg family divide each full sequence as a unique color) by both (show the differences of narration of the matn on the isnad)

for both, each node output has a single color per matn group, this color represents the coloring of the text of the common words across all input narrations the input links will have a color for each unique phrase. the text stitching will combine the common as a single color, the unique will be in [brackets] and the missing will be line-crossed.The comparison is per output node