Skip to content

Instantly share code, notes, and snippets.

@eloycoto
Created December 18, 2014 16:33
Show Gist options
  • Save eloycoto/f69fd6d26b86da27a8f8 to your computer and use it in GitHub Desktop.
Save eloycoto/f69fd6d26b86da27a8f8 to your computer and use it in GitHub Desktop.
digraph models_diagram {
graph[overlap=false, splines=true, mindist=3.0, nodesep=1, /*landscape=true*/]
"AccountActions.csv" [shape=record, label="{AccountActions.csv|\
<0> Tenant :string\l|\
<1> Account :string\l|\
<2> Direction :string\l|\
<3> ActionPlanTag :string\l|\
<4> ActionTriggersTag :string\l|\
}"]
"ActionPlans.csv" [shape=record, label="{ActionPlans.csv(4.2.7)|\
<0> Tag :string\l|\
<1> ActionsTag :string\l|\
<2> TimingTag :string\l|\
<3> Weight :string\l|\
}"]
"Actions.csv" [shape=record, label="{Actions.csv|\
<0> ActionsTag[0] :string\l|\
<1> Action[1] :string\l|\
<2> ExtraParameters[2] :string\l|\
<3> BalanceTag[3] :string\l|\
<4> BalanceType[4] :string\l|\
<5> Direction[5] :string\l|\
<6> Category[6] :string\l|\
<7> DestinationTag[7] :string\l|\
<8> RatingSubject[8] :string\l|\
<9> SharedGroup[9] :string\l|\
<10> ExpiryTime[10] :string\l|\
<11> Units[11] :string\l|\
<12> BalanceWeight[12] :string\l|\
<13> Weight[13] :string\l|\
}"]
"ActionTriggers.csv" [shape=record, label="{ActionTriggers.csv(4.2.8)|\
<0> Tag :string\l|\
<1> ThresholdType :string\l|\
<2> ThresholdValue :string\l|\
<3> Recurrent :string\l|\
<4> MinSleep :string\l|\
<5> BalanceTag :string\l|\
<6> BalanceType :string\l|\
<7> BalanceDirection :string\l|\
<8> BalanceCategory :string\l|\
<9> BalanceDestinationTag :string\l|\
<10> BalanceRatingSubject :string\l|\
<11> BalanceSharedGroup :string\l|\
<12> BalanceExpiryTime :string\l|\
<13> BalanceWeight :string\l|\
<14> StatsMinQueuedItems :string\l|\
<15> ActionsTag :string\l|\
<16> Weight :string\l|\
}"]
"CdrStats.csv" [shape=record, label="{CdrStats.csv|\
<0> Id :string\l|\
<1> QueueLength :string\l|\
<2> TimeWindow :string\l|\
<3> Metric :string\l|\
<4> SetupInterval :string\l|\
<5> TOR :string\l|\
<6> CdrHost :string\l|\
<7> CdrSource :string\l|\
<8> ReqType :string\l|\
<9> Direction :string\l|\
<10> Tenant :string\l|\
<11> Category :string\l|\
<12> Account :string\l|\
<13> Subject :string\l|\
<14> DestinationPrefix :string\l|\
<15> UsageInterval :string\l|\
<16> MediationRunIds :string\l|\
<17> RatedAccount :string\l|\
<18> RatedSubject :string\l|\
<19> CostInterval :string\l|\
<20> Triggers :string\l|\
}"]
"DerivedChargers.csv" [shape=record, label="{DerivedChargers.csv|\
<0> Direction :string\l|\
<1> Tenant :string\l|\
<2> Category :string\l|\
<3> Account :string\l|\
<4> Subject :string\l|\
<5> RunId :string\l|\
<6> RunFilter :string\l|\
<7> ReqTypeField :string\l|\
<8> DirectionField :string\l|\
<9> TenantField :string\l|\
<10> CategoryField :string\l|\
<11> AccountField :string\l|\
<12> SubjectField :string\l|\
<13> DestinationField :string\l|\
<14> SetupTimeField :string\l|\
<15> AnswerTimeField :string\l|\
<16> UsageField :string\l|\
}"]
"DestinationRates.csv" [shape=record, label="{DestinationRates.csv|\
<0> Tag :string\l|\
<1> DestinationsTag :string\l|\
<2> RatesTag :string\l|\
<3> RoundingMethod :string\l|\
<4> RoundingDecimals :string\l|\
}"]
"Destinations.csv" [shape=record, label="{Destinations.csv(4.2.5)|\
<0> Tag :string\l|\
<1> Prefix :string\l|\
}"]
"Rates.csv" [shape=record, label="{Rates.csv(4.2.3)|\
<0> Tag :string\l|\
<1> ConnectFee :string\l|\
<2> Rate :string\l|\
<3> RateUnit :string\l|\
<4> RateIncrement :string\l|\
<5> GroupIntervalStart :string\l|\
}"]
"RatingPlans.csv" [shape=record, label="{RatingPlans.csv(422)|\
<0> Tag :string\l|\
<1> DestinationRatesTag :string\l|\
<2> TimingTag :string\l|\
<3> Weight :string\l|\
}"]
"RatingProfiles.csv" [shape=record, label="{RatingProfiles.csv(4.2.1)|\
<0> Direction :string\l|\
<1> Tenant :string\l|\
<2> Category :string\l|\
<3> Subject :string\l|\
<4> ActivationTime :string\l|\
<5> RatingPlanId :string\l|\
<6> RatesFallbackSubject :string\l|\
}"]
"SharedGroups.csv" [shape=record, label="{SharedGroups.csv|\
<0> Id :string\l|\
<1> Account :string\l|\
<2> Strategy :string\l|\
<3> RatingSubject :string\l|\
}"]
"Timings.csv" [shape=record, label="{Timings.csv(4.2.4)|\
<0> Tag :string\l|\
<1> Years :string\l|\
<2> Months :string\l|\
<3> MonthDays :string\l|\
<4> WeekDays :string\l|\
<5> Time :string\l|\
}"]
"AccountActions.csv":0 -> "RatingProfiles.csv":1 [arrowtail=odot, arrowhead=crow, dir=both]
"AccountActions.csv":3 -> "ActionPlans.csv":0 [arrowtail=crow, arrowhead=odot, dir=both]
"AccountActions.csv":4 -> "ActionTriggers.csv":0 [arrowtail=crow, arrowhead=odot, dir=both]
"ActionTriggers.csv":15 -> "Actions.csv":0 [arrowtail=crow, arrowhead=odot, dir=both]
"ActionPlans.csv":1 -> "Actions.csv":0 [arrowtail=crow, arrowhead=odot, dir=both]
"ActionPlans.csv":2 -> "Timings.csv":0 [arrowtail=crow, arrowhead=odot, dir=both]
"Actions.csv":7 -> "Destinations.csv":0 [arrowtail=crow, arrowhead=odot, dir=both]
"CdrStats.csv":10 -> "AccountActions.csv":0 [arrowtail=crow, arrowhead=odot, dir=both]
"CdrStats.csv":12 -> "AccountActions.csv":1 [arrowtail=crow, arrowhead=odot, dir=both]
"DerivedChargers.csv":1 -> "AccountActions.csv":0 [arrowtail=crow, arrowhead=odot, dir=both]
"DerivedChargers.csv":3 -> "AccountActions.csv":1 [arrowtail=crow, arrowhead=odot, dir=both]
"DestinationRates.csv":1 -> "Destinations.csv":0 [arrowtail=crow, arrowhead=odot, dir=both]
"DestinationRates.csv":2 -> "Rates.csv":0 [arrowtail=crow, arrowhead=odot, dir=both]
"RatingProfiles.csv":5 -> "RatingPlans.csv":0 [arrowtail=odot, arrowhead=crow, dir=both]
"RatingPlans.csv":1 -> "DestinationRates.csv":0 [arrowtail=crow, arrowhead=odot, dir=both]
"RatingPlans.csv":2 -> "Timings.csv":0 [arrowtail=crow, arrowhead=odot, dir=both]
"SharedGroups.csv":1 -> "AccountActions.csv":1 [arrowtail=crow, arrowhead=odot, dir=both]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment