fix: respect protocol
and --network
for graph init
#1508
Merged
protocol
and --network
for graph init
#1508