I want to be able to show different connections between cities based on modes of transportation. For instance, you could walk to any city, but it would take a long time, you could take a train, but only to/from certain cities. Is it possible to display all of this on the same graph?
Here is what I tried:
Coords = {{40.6642738`, -73.9385004`}, {34.0193936`, -118.4108248`},
{41.8375511`, -87.6818441`}, {29.7804724`, -95.3863425`}};
foot =
{{"NewYork", "NewYork", "UnitedStates"} -> {"LosAngeles",
"California", "UnitedStates"}, {"NewYork", "NewYork",
"UnitedStates"} -> {"Chicago", "Illinois",
"UnitedStates"}, {"NewYork", "NewYork",
"UnitedStates"} -> {"Houston", "Texas",
"UnitedStates"}, {"LosAngeles", "California",
"UnitedStates"} -> {"NewYork", "NewYork",
"UnitedStates"}, {"LosAngeles", "California",
"UnitedStates"} -> {"Chicago", "Illinois",
"UnitedStates"}, {"LosAngeles", "California",
"UnitedStates"} -> {"Houston", "Texas",
"UnitedStates"}, {"Chicago", "Illinois",
"UnitedStates"} -> {"NewYork", "NewYork",
"UnitedStates"}, {"Chicago", "Illinois",
"UnitedStates"} -> {"LosAngeles", "California",
"UnitedStates"}, {"Chicago", "Illinois",
"UnitedStates"} -> {"Houston", "Texas",
"UnitedStates"}, {"Houston", "Texas",
"UnitedStates"} -> {"NewYork", "NewYork",
"UnitedStates"}, {"Houston", "Texas",
"UnitedStates"} -> {"LosAngeles", "California",
"UnitedStates"}, {"Houston", "Texas",
"UnitedStates"} -> {"Chicago", "Illinois", "UnitedStates"}};
car = {{"NewYork", "NewYork", "UnitedStates"} -> {"Chicago",
"Illinois", "UnitedStates"}, {"Houston", "Texas",
"UnitedStates"} -> {"LosAngeles", "California",
"UnitedStates"}, {"LosAngeles", "California",
"UnitedStates"} -> {"Houston", "Texas",
"UnitedStates"}, {"Houston", "Texas",
"UnitedStates"} -> {"Chicago", "Illinois", "UnitedStates"}};
plane = {{"NewYork", "NewYork", "UnitedStates"} -> {"LosAngeles",
"California", "UnitedStates"}};
train = {{"LosAngeles", "California", "UnitedStates"} -> {"Chicago",
"Illinois", "UnitedStates"}, {"Chicago", "Illinois",
"UnitedStates"} -> {"Houston", "Texas",
"UnitedStates"}, {"Houston", "Texas",
"UnitedStates"} -> {"NewYork", "NewYork", "UnitedStates"}};
Graph[foot, VertexCoordinates -> Reverse[Coords, 2],
VertexStyle -> Red, VertexSize -> .1, ImageSize -> 650]
If it helps, the overall goal I'm working towards is not just to display the modes of transportation visually, but to run calculations based on the modes of transportation and routes you could take.