BlogDiagrams
Discorddiagram

Description

The code above is a LaTeX document that creates a diagram using TikZ. The diagram consists of four rectangular blocks arranged horizontally, with each block containing a matrix of nodes. The nodes are formatted using the "myiblock" style, which gives them a colored background, rounded corners, and white text. Each block has a different color scheme, and the nodes within them are labeled with various icons from the Font Awesome package. The nodes are arranged in a matrix using the "myoblock" style, and the labels for each matrix are set using the "mylabel" style. The overall effect is a visually appealing and informative diagram showing various software tools and services related to code repositories, entertainment, information, and tracking.

Keywords

standalone, fontawesome, tikz, matrix, positioning, color, iblock, oblock, label, faRss, Bitbucket, Github, Gitlab, Tech Books, Games, Rep & Elo, EthDev, BChain, AI, Code, Tracking, Web Hooks, Redmine, Apis, Trello, faBook, faGamepad, faStackOverflow, faReddit, faBitcoin, faTrophy, faCode, faThLarge, faTicket.

Source Code

BlogDiagrams

\documentclass{standalone}
\usepackage{fontawesome}
 
\usepackage{tikz}
\usetikzlibrary{matrix, positioning}
 
\definecolor{bluei}{RGB}{83,116,191}
\definecolor{blueii}{RGB}{207,212,232}
\definecolor{greeni}{RGB}{135,200,81}
\definecolor{greenii}{RGB}{216,235,207}
\definecolor{redi}{RGB}{238, 150, 140}
\definecolor{redii}{RGB}{100,60,50}
 
\definecolor{purpi}{RGB}{141, 108, 171}
\definecolor{purpii}{RGB}{100,60,50}
\tikzset{
  myiblock/.style 2 args={
    draw=white,
    fill=#1,
    line width=1pt,
    rounded corners,
    minimum height=1cm,
    align=center,
    text=white,
    font=\sffamily,
    text width=#2
  },
  myoblock/.style={
     matrix of nodes,
    fill=#1,
    rounded corners,
    align=center,
    inner xsep=10pt,
    draw=none,
    row sep=0.5cm
  },
  mylabel/.style={
    black, 
    minimum height=0pt
    }
}
 
\begin{document}
 
 
%\resizebox{14cm}{3cm}{%
\begin{tikzpicture}
	\node[inner sep=0pt] (russell) at (6.5,3)
	    { {\Huge RSS \ \faRss \ Discord }};
	    
	\matrix (A) [myoblock={blueii}, nodes={myiblock={bluei}{2cm}}]
	  {|[label={[mylabel]Code Repos}]|{ \faBitbucket \ Bitbucket }\\ 
	  \faGithub \ Github \\ 
	  \faGitlab \ Gitlab \\
	  };
	
	\matrix (B) [myoblock={greenii}, nodes={myiblock={greeni}{2.5cm}}, 
	   row sep=3pt, right=5mm of A.north east, anchor=north west]
	  {|[label={[mylabel]Entertainment}]|
	   \faBook \ Tech Books \\
	   \faGamepad \ Games\\ 	   
	   \faStackOverflow \ Rep \& Elo \\
	   \faReddit \ EthDev \\
	  };
	  
	\matrix (C) [myoblock={redi}, nodes={myiblock={redii}{2cm}}, 
	   row sep=15pt, right=5mm of B.north east, anchor=north west]
	  {|[label={[mylabel]\faInfo \ Information}]|
	   \faBitcoin \ BChain \\
	   \faTrophy \ AI \\ 	   
	   \faCode \ Code \\
	  };
	  
	\matrix (D) [myoblock={purpi}, nodes={myiblock={purpii}{2cm}}, 
			 right=5mm of C.north east, anchor=north west]
		  {|[label={[mylabel] Tracking}]|
		   \faTrello \ Web Hooks \\
		   \faTicket \ Redmine \\ 	   
		   \faThLarge \ Apis \\
		  };
\end{tikzpicture}
 
%}
 
 
\end{document}
Deploy to Overleaf