I am new to Mathematica. I want to use the software as it allows analysis of mixed graphs (directed and undirected edges).
I have my network as an Excel spreadsheet of three columns: source, target and directed. The names of the nodes are in source and target, and whether the edge between them is directed or not (directed = 0 or 1).
Please could someone explain how to import this data into a mixed graph format in Mathematica?
Thank you, James
Import["file.xls", "UndirectedDirectedGraph"]if that's what you think. You will have to create the graph after you've imported the data (as a list of lists), so try to do that and if it you can't get it to work please ask a question with details about what you have tried and include sample data. $\endgroup$