But "vertex" usually refers to a unique node with a set of unique property values in Gremlin/Neo4j world. If you wanted to ask about relationships that have some attached properties, then the answer is the same as for weights - not directly. Let me give an example. Here is a simple relationship:
<alice> <follows> <bob>
You will definitely have multiple people with name "Alice", so you'll need some unique ID for each one:
<alice_123> <name> "Alice"
<alice_123> <follows> <bob_456>
Now, if you want to add a weight or another property to a "follows" relation, you should pick a unique ID for it as well:
<alice_123> <alice_123-follows-bob_456> <bob_456>
<alice_123-follows-bob_456> <type> <follows>
<alice_123-follows-bob_456> <weight> "14.5"
The second triple is required to be able to traverse any "follows" relations. The query will looks like this for direct example versus example with relation weight:
g.V("<alice_123>").Out("<follows>")
and
g.V("<alice_123>").Out(g.V().Has("<type>","<follows>"))
Am I answered your question?