Please consider the following picture:
I would like to create those nodes using the tikzpicture environment. Each must have a dividing line in the middle so that the node is divided into three sections (all contain numbers of up to 2 digits maximum). There are also some nodes that have a hyphen type arrow, which go to other nodes; these unions (with or without dots and with some text above the lines) must join or leave one of the left or right ends of the node, as you can see in the image.
Also, to make things easier, I hope that each node and each union will be available in an easy way, something like:
\begin{tikzpicture}
\node at (0,0) (1) {1,0,0};
\node at (1,-1) (2) {2,5,7};
\node at (2,0) (3) {3,9,61};
\draw (1) to [text=A(1)] (2) to [dotted] (3);
\end{tikzpicture}
(there are many more nodes and connections).
For the curious I am trying to imitate, with your huge hearts, the design of a Critical Path Method (CPM).
Thank you!!
EDIT:
Following the advice of Zarko and the example provided by Ignasi I created an MWE which generates 18 errors if I use the \usepackage[spanish]{babel} package (I need it, but this time I enclosed it to show you that the code works fine). How could I add this package that I need to the code?:
\documentclass{article}
%\usepackage[spanish]{babel} % <-- HERE IS THE PACKAGE THAT I NEED
\usepackage[utf8]{inputenc}
\usepackage{fancyhdr}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{tasks}
\usepackage{vmargin}
\usepackage{enumitem}
\usepackage{hhline}
\usepackage{pdflscape}
\setpapersize{A4}
\setmargins{2.2cm}
{0.5cm}
{16.5cm}
{23.42cm}
{30pt}
{1cm}
{0pt}
{2cm}
\pagestyle{fancy}
\fancyhf{}
\cfoot{\large \thepage}
\renewcommand{\headrulewidth}{0pt}
\usepackage{colortbl}
\usepackage{pgfplots}
\usetikzlibrary{shapes.multipart, positioning}
\pgfplotsset{compat=1.8}
\begin{document}
\begin{tikzpicture}[
trinode/.style={
circle split,
draw,
path picture={\draw (path picture bounding box.center)--(path picture bounding box.south);}}
]
%\node[trinode] (1) {99\nodepart{lower} 99\ \ 99};
\node[trinode] at (0,0) (1) {99\nodepart{lower} 99\ \ 99};
%\node[trinode, below right=of 1] (2) {99\nodepart{lower} 99\ \ 99};
\node[trinode] at (2,-2) (2) {99\nodepart{lower} 99\ \ 99};
%\node[trinode, above right=of 2] (3) {99\nodepart{lower} 99\ \ 99};
\node[trinode] at (4,0) (3) {99\nodepart{lower} 99\ \ 99};
\draw[->] (1)--(2) node[midway, right] {A(1)};
\draw[->,dashed] (2)--(3);
\end{tikzpicture}
\end{document}


articledocument andtikzpictureenvironment (with some libraries, likearrow) I think it's all you need. If this is not sufficient let me know. – manooooh Jul 09 '18 at 08:23