@@ -115,7 +115,7 @@ const timeSeriesAtomsTypeMeanSpeedConfig = {
115115 }),
116116}
117117const timeSeriesAtomsTypeLinksCountConfig = {
118- id: ' atoms-type-links-count-speed ' ,
118+ id: ' atoms-type-links-count' ,
119119 name: ' Atoms Type Links Count' ,
120120 height: 200 ,
121121 data : () => getCurrentSimulation ().summary [' ATOMS_TYPE_LINKS_COUNT' ],
@@ -131,7 +131,7 @@ const timeSeriesAtomsTypeLinksCountConfig = {
131131 }),
132132}
133133const timeSeriesAtomsTypeLinksMeanCountConfig = {
134- id: ' atoms-type-links-mean-count-speed ' ,
134+ id: ' atoms-type-links-mean-count' ,
135135 name: ' Atoms Type Links Mean Count' ,
136136 height: 200 ,
137137 data : () => getCurrentSimulation ().summary [' ATOMS_TYPE_LINKS_MEAN_COUNT' ],
@@ -261,10 +261,59 @@ const timeSeriesLinksTypeDeletedMeanConfig = {
261261 }),
262262}
263263
264+ const timeSeriesTransformationsCountConfig: ChartConfig = {
265+ id: ' transformations-count' ,
266+ name: ' Transformations Count' ,
267+ data : () => getCurrentSimulation ().summary [' TRANSFORMATION_COUNT' ],
268+ config: [
269+ {
270+ name: ' Transformations Count' ,
271+ options: {
272+ strokeStyle: ' rgb(13, 110, 253)' ,
273+ fillStyle: ' rgba(13, 110, 253, 0.4)' ,
274+ lineWidth: 3 ,
275+ },
276+ },
277+ ],
278+ };
279+ const timeSeriesTransformationsTypeFromCountConfig = {
280+ id: ' transformations-type-from-count' ,
281+ name: ' Transformations Type From Count' ,
282+ height: 200 ,
283+ data : () => getCurrentSimulation ().summary [' TRANSFORMATION_TYPE_FROM_COUNT' ],
284+ config: getCurrentSimulation ().config .typesConfig .COLORS .map ((color ) => {
285+ const strColor = color .join (' , ' );
286+ return {
287+ name: ' Transformations Type From Count' ,
288+ options: {
289+ strokeStyle: ` rgb(${strColor }) ` ,
290+ lineWidth: 2 ,
291+ },
292+ };
293+ }),
294+ }
295+ const timeSeriesTransformationsTypeToCountConfig = {
296+ id: ' transformations-type-to-count' ,
297+ name: ' Transformations Type To Count' ,
298+ height: 200 ,
299+ data : () => getCurrentSimulation ().summary [' TRANSFORMATION_TYPE_TO_COUNT' ],
300+ config: getCurrentSimulation ().config .typesConfig .COLORS .map ((color ) => {
301+ const strColor = color .join (' , ' );
302+ return {
303+ name: ' Transformations Type To Count' ,
304+ options: {
305+ strokeStyle: ` rgb(${strColor }) ` ,
306+ lineWidth: 2 ,
307+ },
308+ };
309+ }),
310+ }
311+
264312const timeSeriesConfigBase: ChartConfig [] = [
265313 timeSeriesFpsConfig ,
266314 timeSeriesAtomsMeanSpeedConfig ,
267315 timeSeriesLinksCountConfig ,
316+ timeSeriesTransformationsCountConfig ,
268317];
269318
270319const timeSeriesConfigCount: ChartConfig [] = [
@@ -274,6 +323,8 @@ const timeSeriesConfigCount: ChartConfig[] = [
274323 timeSeriesLinksTypeCreatedConfig ,
275324 timeSeriesLinksTypeDeletedConfig ,
276325 timeSeriesAtomsTypeMeanSpeedConfig ,
326+ timeSeriesTransformationsTypeFromCountConfig ,
327+ timeSeriesTransformationsTypeToCountConfig ,
277328];
278329
279330const timeSeriesConfigMean: ChartConfig [] = [
0 commit comments