FeatureGraphGenerator with PolygonGraphGenerator problem

Description

TestCode

FeatureGraphGenerator decorates PolygonGraphGenerator.
In case of adding node, FeatureGraphGenerator makes Graphable object with Polygon geometry by decorate generator.
After making Graphable object, FeatureGraphGenerator changes it's object to feature(SimpleFeature).

Method in FeatureGraphGenerator

When finding Node in PolygonGraphGenerator, it assume that found node has Polygon object.
but actually, Node has SimpleFeatureImpl, so it throws ClassCastExcpetion.

Method in PolygonGraphGenerator

Environment

None

Assignee

Unassigned

Reporter

Hyung-Gyu Ryoo

Triage

None

Components

Affects versions

Priority

Medium
Configure