Created
July 6, 2024 18:17
-
-
Save parthitce/20e3178c85bc684ed12a69abe6cd3df9 to your computer and use it in GitHub Desktop.
Bluez + DBUS in a star topology
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{tikz} | |
\usetikzlibrary{positioning, arrows.meta} | |
\begin{document} | |
\begin{tikzpicture}[ | |
node distance=3cm and 3cm, | |
mynode/.style={circle, draw, text width=2.5cm, align=center, minimum height=2cm, fill=blue!20}, | |
myarrow/.style={->, >=Stealth}, | |
] | |
% Central Node | |
\node[mynode] (dbus) {D-Bus Daemon}; | |
% Peripheral Nodes | |
\node[mynode, above left=of dbus] (bluez) {BlueZ Service}; | |
\node[mynode, above right=of dbus] (app1) {Application 1}; | |
\node[mynode, below right=of dbus] (app2) {Application 2}; | |
% Arrows | |
\draw[myarrow] (dbus) -- (bluez); | |
\draw[myarrow] (dbus) -- (app1); | |
\draw[myarrow] (dbus) -- (app2); | |
\end{tikzpicture} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment