NewPatternIndex does exactly what you think it does.
()
source not stored for this graph (policy: none)