according to your last comment, you just need a visual representation of the network. There are many ways to achieve this goal but Cytoscape can be the easiest way to go.
First problem: which format is your network? Do you have a file with two columns, where each row represent an interaction? We need something like that, in order to load the network with Cytoscape. Maybe you have a csv files containing at least these two columns and that is ok too. Look into Cytoscape docs to understand how to load a network.
Once the net is loaded into the software, you can use the node table of your network to create a new column called, for instance, "typeOfNode" which will contain the category of each node, i.e. a label. If you had a csv table, it might be the case that such column is already there. If not you have to create it from the table panel, and then manually enter all the categories for all your nodes.
Once you have such column, simply navigate into the Control panel to the Style tab. Here you will find graphical options for nodes, edges and networks (see the tabs at the bottom of the panel). Stick to the nodes tab, and here find Fill Color. Open it and select the column you just decided to use to label your nodes. Then, since you have a tripartite network, three labels should appear and you can select a colour for each one. It's done: you nodes are now coloured accordingly to their label.